Class EvaluationOperators.EvaluationOperatorFactory
java.lang.Object
org.springframework.data.mongodb.core.aggregation.EvaluationOperators.EvaluationOperatorFactory
- Enclosing class:
EvaluationOperators
- Since:
- 3.3
- Author:
- Divya Srivastava, Christoph Strobl
-
Constructor Summary
ConstructorsConstructorDescriptionEvaluationOperatorFactory(String fieldReference) Creates newEvaluationOperators.EvaluationOperatorFactoryfor given fieldReference.EvaluationOperatorFactory(AggregationExpression expression) Creates newEvaluationOperators.EvaluationOperatorFactoryfor givenAggregationExpression. -
Method Summary
Modifier and TypeMethodDescriptionexpr()Creates newAggregationExpressionthat is a valid aggregation expression.locf()Creates newAggregationExpressionthat is a valid aggregation expression.
-
Constructor Details
-
EvaluationOperatorFactory
Creates newEvaluationOperators.EvaluationOperatorFactoryfor given fieldReference.- Parameters:
fieldReference- must not be null.
-
EvaluationOperatorFactory
Creates newEvaluationOperators.EvaluationOperatorFactoryfor givenAggregationExpression.- Parameters:
expression- must not be null.
-
-
Method Details
-
expr
Creates newAggregationExpressionthat is a valid aggregation expression.- Returns:
- new instance of
EvaluationOperators.Expr.
-
locf
Creates newAggregationExpressionthat is a valid aggregation expression.- Returns:
- new instance of
EvaluationOperators.Expr.
-