Class VariableOperators.Map
java.lang.Object
org.springframework.data.mongodb.core.aggregation.VariableOperators.Map
- All Implemented Interfaces:
AggregationExpression
,MongoExpression
- Enclosing class:
- VariableOperators
AggregationExpression
for $map
.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static interface
-
Method Summary
Modifier and TypeMethodDescriptionStarts building newVariableOperators.Map
that applies anAggregationExpression
to each item of a referenced array and returns an array with the applied results.itemsOf
(AggregationExpression source) Starts building newVariableOperators.Map
that applies anAggregationExpression
to each item of a referenced array and returns an array with the applied results.org.bson.Document
toDocument
(AggregationOperationContext context) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.data.mongodb.core.aggregation.AggregationExpression
toDocument
-
Method Details
-
itemsOf
Starts building newVariableOperators.Map
that applies anAggregationExpression
to each item of a referenced array and returns an array with the applied results.- Parameters:
fieldReference
- must not be null.- Returns:
-
itemsOf
Starts building newVariableOperators.Map
that applies anAggregationExpression
to each item of a referenced array and returns an array with the applied results.- Parameters:
source
- must not be null.- Returns:
-
toDocument
Description copied from interface:AggregationExpression
- Specified by:
toDocument
in interfaceAggregationExpression
- Parameters:
context
- must not be null.- Returns:
- the MongoDB native (
Document
) form of the expression.
-