public class Compare extends BinaryValueOperator
Modifier and Type | Class and Description |
---|---|
static class |
Compare.CompareOp |
leftArg, rightArg
Constructor and Description |
---|
Compare() |
Compare(ValueExpr leftArg,
ValueExpr rightArg) |
Compare(ValueExpr leftArg,
ValueExpr rightArg,
Compare.CompareOp operator) |
Modifier and Type | Method and Description |
---|---|
Compare |
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.
|
Compare.CompareOp |
getOperator() |
String |
getSignature()
Default implementation of
QueryModelNode.getSignature() that prints the name of the node's class. |
int |
hashCode() |
void |
setOperator(Compare.CompareOp operator) |
<X extends Exception> |
visit(QueryModelVisitor<X> visitor)
Visits this node.
|
getLeftArg, getRightArg, replaceChildNode, setLeftArg, setRightArg, visitChildren
getCostEstimate, getParentNode, getResultSizeActual, getResultSizeEstimate, getTotalTimeNanosActual, isGraphPatternGroup, isVariableScopeChange, nullEquals, replaceNodeInList, replaceWith, setCostEstimate, setGraphPatternGroup, setParentNode, setResultSizeActual, setResultSizeEstimate, setTotalTimeNanosActual, setVariableScopeChange, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
getCostEstimate, getParentNode, getResultSizeActual, getResultSizeEstimate, getTotalTimeNanosActual, replaceWith, setCostEstimate, setParentNode, setResultSizeActual, setResultSizeEstimate, setTotalTimeNanosActual, toString
public Compare()
public Compare(ValueExpr leftArg, ValueExpr rightArg, Compare.CompareOp operator)
public Compare.CompareOp getOperator()
public void setOperator(Compare.CompareOp operator)
public <X extends Exception> void visit(QueryModelVisitor<X> visitor) throws X extends Exception
QueryModelNode
X extends Exception
public String getSignature()
AbstractQueryModelNode
QueryModelNode.getSignature()
that prints the name of the node's class.getSignature
in interface QueryModelNode
getSignature
in class AbstractQueryModelNode
public boolean equals(Object other)
QueryModelNode
equals
in interface QueryModelNode
equals
in class BinaryValueOperator
public int hashCode()
hashCode
in class BinaryValueOperator
public Compare clone()
QueryModelNode
clone
in interface QueryModelNode
clone
in interface ValueExpr
clone
in class BinaryValueOperator
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.