|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openrdf.query.algebra.QueryModelNodeBase
org.openrdf.query.algebra.UnaryTupleOperator
public abstract class UnaryTupleOperator
An abstract superclass for unary tuple operators which, by definition, has one argument.
| Field Summary | |
|---|---|
protected TupleExpr |
arg
The operator's argument. |
| Constructor Summary | |
|---|---|
UnaryTupleOperator()
|
|
UnaryTupleOperator(TupleExpr arg)
Creates a new unary tuple operator. |
|
| Method Summary | ||
|---|---|---|
UnaryTupleOperator |
clone()
Returns a (deep) clone of this query model node. |
|
TupleExpr |
getArg()
Gets the argument of this unary tuple operator. |
|
Set<String> |
getBindingNames()
Gets the names of the bindings that are returned by this tuple expression when it is evaluated. |
|
void |
replaceChildNode(QueryModelNode current,
QueryModelNode replacement)
Default implementation of QueryModelNode.replaceChildNode(QueryModelNode, QueryModelNode)
that throws an IllegalArgumentException indicating that
current is not a child node of this node. |
|
void |
setArg(TupleExpr arg)
Sets the argument of this unary tuple operator. |
|
|
visitChildren(QueryModelVisitor<X> visitor)
Dummy implementation of QueryModelNode.visitChildren(org.openrdf.query.algebra.QueryModelVisitor that does
nothing. |
|
| Methods inherited from class org.openrdf.query.algebra.QueryModelNodeBase |
|---|
getParentNode, getSignature, replaceWith, setParentNode, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.openrdf.query.algebra.QueryModelNode |
|---|
getParentNode, getSignature, replaceWith, setParentNode, toString, visit |
| Field Detail |
|---|
protected TupleExpr arg
| Constructor Detail |
|---|
public UnaryTupleOperator()
public UnaryTupleOperator(TupleExpr arg)
arg - The operator's argument, must not be null.| Method Detail |
|---|
public TupleExpr getArg()
public void setArg(TupleExpr arg)
arg - The (new) argument for this operator, must not be null.public Set<String> getBindingNames()
TupleExpr
getBindingNames in interface TupleExpr
public <X extends Exception> void visitChildren(QueryModelVisitor<X> visitor)
throws X extends Exception
QueryModelNodeBaseQueryModelNode.visitChildren(org.openrdf.query.algebra.QueryModelVisitor) that does
nothing. Subclasses should override this method when they have child
nodes.
visitChildren in interface QueryModelNodevisitChildren in class QueryModelNodeBaseX extends Exception
public void replaceChildNode(QueryModelNode current,
QueryModelNode replacement)
QueryModelNodeBaseQueryModelNode.replaceChildNode(QueryModelNode, QueryModelNode)
that throws an IllegalArgumentException indicating that
current is not a child node of this node.
replaceChildNode in interface QueryModelNodereplaceChildNode in class QueryModelNodeBasecurrent - The current child node.replacement - The new child node.public UnaryTupleOperator clone()
QueryModelNode
clone in interface QueryModelNodeclone in interface TupleExprclone in class QueryModelNodeBase
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||