Class EvaluationOperators.EvaluationOperatorFactory
java.lang.Object
org.springframework.data.mongodb.core.aggregation.EvaluationOperators.EvaluationOperatorFactory
- Enclosing class:
- EvaluationOperators
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Allows the use of aggregation expressions within the query language. -
Constructor Summary
ConstructorsConstructorDescriptionEvaluationOperatorFactory
(String fieldReference) Creates newEvaluationOperators.EvaluationOperatorFactory
for given fieldReference.EvaluationOperatorFactory
(AggregationExpression expression) Creates newEvaluationOperators.EvaluationOperatorFactory
for givenAggregationExpression
. -
Method Summary
Modifier and TypeMethodDescriptionexpr()
Creates newAggregationExpression
that is a valid aggregation expression.
-
Constructor Details
-
EvaluationOperatorFactory
Creates newEvaluationOperators.EvaluationOperatorFactory
for given fieldReference.- Parameters:
fieldReference
- must not be null.
-
EvaluationOperatorFactory
Creates newEvaluationOperators.EvaluationOperatorFactory
for givenAggregationExpression
.- Parameters:
expression
- must not be null.
-
-
Method Details
-
expr
Creates newAggregationExpression
that is a valid aggregation expression.- Returns:
- new instance of
EvaluationOperators.EvaluationOperatorFactory.Expr
.
-