public abstract class BinaryTupleOperator extends AbstractQueryModelNode implements TupleExpr
Modifier and Type | Field and Description |
---|---|
protected TupleExpr |
leftArg
The operator's left argument.
|
protected TupleExpr |
rightArg
The operator's right argument.
|
Modifier | Constructor and Description |
---|---|
protected |
BinaryTupleOperator() |
protected |
BinaryTupleOperator(TupleExpr leftArg,
TupleExpr rightArg)
Creates a new binary tuple operator.
|
Modifier and Type | Method and Description |
---|---|
BinaryTupleOperator |
clone()
Returns a (deep) clone of this query model node.
|
boolean |
equals(Object other)
Returns true if this query model node and its children are recursively equal to o and its
children.
|
String |
getAlgorithmName() |
TupleExpr |
getLeftArg()
Gets the left argument of this binary tuple operator.
|
TupleExpr |
getRightArg()
Gets the right argument of this binary tuple operator.
|
int |
hashCode() |
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 |
setAlgorithm(Iteration<BindingSet,QueryEvaluationException> iteration) |
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.
|
<X extends Exception> |
visitChildren(QueryModelVisitor<X> visitor)
Dummy implementation of
QueryModelNode.visitChildren(org.eclipse.rdf4j.query.algebra.QueryModelVisitor<X>) that does nothing. |
getCostEstimate, getParentNode, getResultSizeActual, getResultSizeEstimate, getSignature, getTotalTimeNanosActual, isGraphPatternGroup, isVariableScopeChange, nullEquals, replaceNodeInList, replaceWith, setCostEstimate, setGraphPatternGroup, setParentNode, setResultSizeActual, setResultSizeEstimate, setTotalTimeNanosActual, setVariableScopeChange, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
getAssuredBindingNames, getBindingNames
getCostEstimate, getParentNode, getResultSizeActual, getResultSizeEstimate, getSignature, getTotalTimeNanosActual, replaceWith, setCostEstimate, setParentNode, setResultSizeActual, setResultSizeEstimate, setTotalTimeNanosActual, toString, visit
protected TupleExpr leftArg
protected TupleExpr rightArg
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
AbstractQueryModelNode
QueryModelNode.visitChildren(org.eclipse.rdf4j.query.algebra.QueryModelVisitor<X>)
that does nothing. Subclasses should override this
method when they have child nodes.visitChildren
in interface QueryModelNode
visitChildren
in class AbstractQueryModelNode
X extends Exception
public void replaceChildNode(QueryModelNode current, QueryModelNode replacement)
AbstractQueryModelNode
QueryModelNode.replaceChildNode(QueryModelNode, QueryModelNode)
that throws an
IllegalArgumentException
indicating that current is not a child node of this node.replaceChildNode
in interface QueryModelNode
replaceChildNode
in class AbstractQueryModelNode
current
- The current child node.replacement
- The new child node.public boolean equals(Object other)
QueryModelNode
equals
in interface QueryModelNode
equals
in class Object
public BinaryTupleOperator clone()
QueryModelNode
clone
in interface QueryModelNode
clone
in interface TupleExpr
clone
in class AbstractQueryModelNode
@Experimental public void setAlgorithm(Iteration<BindingSet,QueryEvaluationException> iteration)
@Experimental public String getAlgorithmName()
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.