Package | Description |
---|---|
org.springframework.data.mongodb.core.spel |
Support classes to transform SpEL expressions into MongoDB expressions.
|
Modifier and Type | Class and Description |
---|---|
class |
ExpressionTransformationContextSupport<T extends ExpressionNode>
The context for an
ExpressionNode transformation. |
Modifier and Type | Class and Description |
---|---|
class |
LiteralNode
A node representing a literal in an expression.
|
class |
MethodReferenceNode
An
ExpressionNode representing a method reference. |
class |
OperatorNode
An
ExpressionNode representing an operator. |
Modifier and Type | Method and Description |
---|---|
protected ExpressionNode |
ExpressionNode.from(SpelNode node)
Creates a new
ExpressionNode from the given SpelNode . |
static ExpressionNode |
ExpressionNode.from(SpelNode node,
ExpressionState state)
|
ExpressionNode |
ExpressionNode.getChild(int index)
Returns the child
ExpressionNode with the given index. |
ExpressionNode |
OperatorNode.getLeft()
Returns the left operand as
ExpressionNode . |
ExpressionNode |
ExpressionTransformationContextSupport.getParentNode()
Returns the parent
ExpressionNode or null if none available. |
ExpressionNode |
OperatorNode.getRight()
Returns the right operand as
ExpressionNode . |
Modifier and Type | Method and Description |
---|---|
Iterator<ExpressionNode> |
ExpressionNode.iterator() |
Modifier and Type | Method and Description |
---|---|
boolean |
LiteralNode.isUnaryMinus(ExpressionNode parent)
Returns whether the given
ExpressionNode is a unary minus. |
Constructor and Description |
---|
ExpressionTransformationContextSupport(T currentNode,
ExpressionNode parentNode,
com.mongodb.DBObject previousOperationObject)
Creates a new
ExpressionTransformationContextSupport for the given ExpressionNode s and an optional
previous operation. |
Copyright © 2011-2014–2014 Pivotal Software, Inc.. All rights reserved.