java.lang.Object
org.springframework.data.mongodb.core.spel.ExpressionNode
org.springframework.data.mongodb.core.spel.LiteralNode
- All Implemented Interfaces:
Iterable<ExpressionNode>
A node representing a literal in an expression.
- Author:
- Oliver Gierke, Christoph Strobl, Mark Paluch
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether theExpressionNodeis a literal.booleanisUnaryMinus(ExpressionNode parent) Returns whether the givenExpressionNodeis a unary minus.Methods inherited from class org.springframework.data.mongodb.core.spel.ExpressionNode
from, from, getChild, getName, getValue, hasChildren, hasfirstChildNotOfType, isLogicalOperator, isMathematicalOperation, isOfType, iteratorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
isUnaryMinus
Returns whether the givenExpressionNodeis a unary minus.- Parameters:
parent-- Returns:
-
isLiteral
public boolean isLiteral()Description copied from class:ExpressionNodeReturns whether theExpressionNodeis a literal.- Overrides:
isLiteralin classExpressionNode- Returns:
-