Module spring.data.mongodb
Class ComparisonOperators
java.lang.Object
org.springframework.data.mongodb.core.aggregation.ComparisonOperators
Gateway to comparison expressions.
- Since:
- 1.10
- Author:
- Christoph Strobl
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAggregationExpressionfor$cmp.static classstatic classAggregationExpressionfor$eq.static classAggregationExpressionfor$gt.static classAggregationExpressionfor$gte.static classAggregationExpressionfor$lt.static classAggregationExpressionfor$lte.static classAggregationExpressionfor$ne. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionTake the field referenced by given fieldReference.valueOf(AggregationExpression expression) Take the value resulting from the givenAggregationExpression.
-
Constructor Details
-
ComparisonOperators
public ComparisonOperators()
-
-
Method Details
-
valueOf
Take the field referenced by given fieldReference.- Parameters:
fieldReference- must not be null.- Returns:
- new instance of
ComparisonOperators.ComparisonOperatorFactory.
-
valueOf
public static ComparisonOperators.ComparisonOperatorFactory valueOf(AggregationExpression expression) Take the value resulting from the givenAggregationExpression.- Parameters:
expression- must not be null.- Returns:
- new instance of
ComparisonOperators.ComparisonOperatorFactory.
-