Module spring.data.mongodb
Class ArrayOperators.Reduce.PropertyExpression
java.lang.Object
org.springframework.data.mongodb.core.aggregation.ArrayOperators.Reduce.PropertyExpression
- All Implemented Interfaces:
AggregationExpression,MongoExpression
- Enclosing class:
- ArrayOperators.Reduce
public static class ArrayOperators.Reduce.PropertyExpression
extends Object
implements AggregationExpression
- Author:
- Christoph Strobl
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPropertyExpression(String propertyName, AggregationExpression aggregationExpression) -
Method Summary
Modifier and TypeMethodDescriptionDefine a result property for anAggregationExpressionused inArrayOperators.Reduce.org.bson.DocumenttoDocument(AggregationOperationContext context) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.data.mongodb.core.aggregation.AggregationExpression
toDocument
-
Constructor Details
-
PropertyExpression
-
-
Method Details
-
property
Define a result property for anAggregationExpressionused inArrayOperators.Reduce.- Parameters:
name- must not be null.- Returns:
- new instance of
ArrayOperators.Reduce.PropertyExpression.AsBuilderto createArrayOperators.Reduce.
-
toDocument
Description copied from interface:AggregationExpression- Specified by:
toDocumentin interfaceAggregationExpression- Parameters:
context- must not be null.- Returns:
- the MongoDB native (
Document) form of the expression.
-