public class OperatorNode extends ExpressionNode
ExpressionNode representing an operator.| Modifier and Type | Method and Description |
|---|---|
ExpressionNode |
getLeft()
Returns the left operand as
ExpressionNode. |
String |
getMongoOperator()
Returns the Mongo expression of the operator.
|
ExpressionNode |
getRight()
Returns the right operand as
ExpressionNode. |
boolean |
isMathematicalOperation()
Returns whether the
ExpressionNode is a mathematical operation. |
boolean |
isUnaryMinus()
Returns whether the operator is a unary minus, e.g. -1.
|
boolean |
isUnaryOperator()
Returns whether the operator is unary.
|
from, from, getChild, getName, getValue, hasChildren, hasfirstChildNotOfType, isLiteral, isOfType, iteratorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic boolean isMathematicalOperation()
ExpressionNodeExpressionNode is a mathematical operation.isMathematicalOperation in class ExpressionNodepublic boolean isUnaryOperator()
public String getMongoOperator()
public boolean isUnaryMinus()
public ExpressionNode getLeft()
ExpressionNode.public ExpressionNode getRight()
ExpressionNode.Copyright © 2011-2014–2015 Pivotal Software, Inc.. All rights reserved.