public class MathExpr extends BinaryValueOperator
| Modifier and Type | Class and Description |
|---|---|
static class |
MathExpr.MathOp |
leftArg, rightArg| Constructor and Description |
|---|
MathExpr() |
MathExpr(ValueExpr leftArg,
ValueExpr rightArg,
MathExpr.MathOp operator) |
| Modifier and Type | Method and Description |
|---|---|
MathExpr |
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.
|
MathExpr.MathOp |
getOperator() |
String |
getSignature()
Default implementation of
QueryModelNode.getSignature() that prints the name of the node's class. |
int |
hashCode() |
void |
setOperator(MathExpr.MathOp operator) |
<X extends Exception> |
visit(QueryModelVisitor<X> visitor)
Visits this node.
|
getLeftArg, getRightArg, replaceChildNode, setLeftArg, setRightArg, visitChildrengetCostEstimate, getParentNode, getResultSizeActual, getResultSizeEstimate, getTotalTimeNanosActual, isGraphPatternGroup, isVariableScopeChange, nullEquals, replaceNodeInList, replaceWith, setCostEstimate, setGraphPatternGroup, setParentNode, setResultSizeActual, setResultSizeEstimate, setTotalTimeNanosActual, setVariableScopeChange, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitgetCostEstimate, getParentNode, getResultSizeActual, getResultSizeEstimate, getTotalTimeNanosActual, replaceWith, setCostEstimate, setParentNode, setResultSizeActual, setResultSizeEstimate, setTotalTimeNanosActual, toStringpublic MathExpr()
public MathExpr(ValueExpr leftArg, ValueExpr rightArg, MathExpr.MathOp operator)
public MathExpr.MathOp getOperator()
public void setOperator(MathExpr.MathOp operator)
public <X extends Exception> void visit(QueryModelVisitor<X> visitor) throws X extends Exception
QueryModelNodeX extends Exceptionpublic String getSignature()
AbstractQueryModelNodeQueryModelNode.getSignature() that prints the name of the node's class.getSignature in interface QueryModelNodegetSignature in class AbstractQueryModelNodepublic boolean equals(Object other)
QueryModelNodeequals in interface QueryModelNodeequals in class BinaryValueOperatorpublic int hashCode()
hashCode in class BinaryValueOperatorpublic MathExpr clone()
QueryModelNodeclone in interface QueryModelNodeclone in interface ValueExprclone in class BinaryValueOperatorCopyright © 2015-2020 Eclipse Foundation. All Rights Reserved.