Module spring.data.mongodb
Class VariableOperators.Let.ExpressionVariable
java.lang.Object
org.springframework.data.mongodb.core.aggregation.VariableOperators.Let.ExpressionVariable
- Enclosing class:
- VariableOperators.Let
- Author:
- Christoph Strobl
-
Method Summary
Modifier and TypeMethodDescriptionforExpression(org.bson.Document expressionObject) Create a newVariableOperators.Let.ExpressionVariablewith current name and given expressionObject.forExpression(AggregationExpression expression) Create a newVariableOperators.Let.ExpressionVariablewith current name and given expression.newVariable(String variableName) Create a newVariableOperators.Let.ExpressionVariablewith given name.
-
Method Details
-
newVariable
Create a newVariableOperators.Let.ExpressionVariablewith given name.- Parameters:
variableName- must not be null.- Returns:
- never null.
-
forExpression
Create a newVariableOperators.Let.ExpressionVariablewith current name and given expression.- Parameters:
expression- must not be null.- Returns:
- never null.
-
forField
-
forExpression
Create a newVariableOperators.Let.ExpressionVariablewith current name and given expressionObject.- Parameters:
expressionObject- must not be null.- Returns:
- never null.
-