Uses of Class
org.springframework.data.mongodb.core.aggregation.ArrayOperators.Reduce
Package
Description
Support for the MongoDB aggregation framework.
-
Uses of ArrayOperators.Reduce in org.springframework.data.mongodb.core.aggregation
Modifier and TypeMethodDescriptionArrayOperators.Reduce.ReduceBuilder.reduce
(AggregationExpression expression) Define theAggregationExpression
to apply to each element in the input array in left-to-right order.ArrayOperators.Reduce.ReduceBuilder.reduce
(ArrayOperators.Reduce.PropertyExpression... expressions) Define theArrayOperators.Reduce.PropertyExpression
s to apply to each element in the input array in left-to-right order.ArrayOperators.ArrayOperatorFactory.ReduceInitialValueBuilder.startingWith
(Object initialValue) Define the initial cumulative value set before in is applied to the first element of the input array.