Class ObjectOperators
java.lang.Object
org.springframework.data.mongodb.core.aggregation.ObjectOperators
Gateway for
object
expression operators.
- Since:
- 2.1
- Author:
- Christoph Strobl
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAggregationExpressionfor$getField.static classAggregationExpressionfor$mergeObjectsthat combines multiple documents into a single document.static classstatic classAggregationExpressionfor$objectToArraythat converts a document to an array ofdocumentsthat each contains two fields k and v.static classAggregationExpressionfor$setField. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionTake the value referenced by given fieldReference.valueOf(AggregationExpression expression) Take the value provided by the givenAggregationExpression.
-
Constructor Details
-
ObjectOperators
public ObjectOperators()
-
-
Method Details
-
valueOf
Take the value referenced by given fieldReference.- Parameters:
fieldReference- must not be null.- Returns:
- new instance of
ObjectOperators.ObjectOperatorFactory.
-
valueOf
Take the value provided by the givenAggregationExpression.- Parameters:
expression- must not be null.- Returns:
- new instance of
ObjectOperators.ObjectOperatorFactory.
-