|
||||||||||
| 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.BinaryTupleOperator
public abstract class BinaryTupleOperator
An abstract superclass for binary tuple operators which, by definition, has two arguments.
| Field Summary | |
|---|---|
protected TupleExpr |
leftArg
The operator's left argument. |
protected TupleExpr |
rightArg
The operator's right argument. |
| Constructor Summary | |
|---|---|
BinaryTupleOperator()
|
|
BinaryTupleOperator(TupleExpr leftArg,
TupleExpr rightArg)
Creates a new binary tuple operator. |
|
| Method Summary | ||
|---|---|---|
BinaryTupleOperator |
clone()
Returns a (deep) clone of this query model node. |
|
TupleExpr |
getLeftArg()
Gets the left argument of this binary tuple operator. |
|
TupleExpr |
getRightArg()
Gets the right argument of this binary tuple operator. |
|
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 |
setLeftArg(TupleExpr leftArg)
Sets the left argument of this binary tuple operator. |
|
void |
setRightArg(TupleExpr rightArg)
Sets the right argument of this binary 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.TupleExpr |
|---|
getBindingNames |
| Methods inherited from interface org.openrdf.query.algebra.QueryModelNode |
|---|
getParentNode, getSignature, replaceWith, setParentNode, toString, visit |
| Field Detail |
|---|
protected TupleExpr leftArg
protected TupleExpr rightArg
| Constructor Detail |
|---|
public BinaryTupleOperator()
public BinaryTupleOperator(TupleExpr leftArg,
TupleExpr rightArg)
leftArg - The operator's left argument, must not be null.rightArg - The operator's right argument, must not be null.| Method Detail |
|---|
public TupleExpr getLeftArg()
public void setLeftArg(TupleExpr leftArg)
leftArg - The (new) left argument for this operator, must not be
null.public TupleExpr getRightArg()
public void setRightArg(TupleExpr rightArg)
rightArg - The (new) right argument for this operator, must not be
null.
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 BinaryTupleOperator 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 | |||||||||