Interface ArrayOperators.Reduce.ReduceBuilder
- Enclosing class:
ArrayOperators.Reduce
public static interface ArrayOperators.Reduce.ReduceBuilder
- Since:
- 1.0
- Author:
- Christoph Strobl
-
Method Summary
Modifier and TypeMethodDescriptionreduce(AggregationExpression expression) Define theAggregationExpressionto apply to each element in the input array in left-to-right order.reduce(ArrayOperators.Reduce.PropertyExpression... expressions) Define theArrayOperators.Reduce.PropertyExpressions to apply to each element in the input array in left-to-right order.
-
Method Details
-
reduce
Define theAggregationExpressionto apply to each element in the input array in left-to-right order.
NOTE: During evaluation of the in expression the variable referencesArrayOperators.Reduce.Variable.THISandArrayOperators.Reduce.Variable.VALUEare available.- Parameters:
expression- must not be null.- Returns:
- new instance of
ArrayOperators.Reduce.
-
reduce
Define theArrayOperators.Reduce.PropertyExpressions to apply to each element in the input array in left-to-right order.
NOTE: During evaluation of the in expression the variable referencesArrayOperators.Reduce.Variable.THISandArrayOperators.Reduce.Variable.VALUEare available.- Parameters:
expressions- must not be null.- Returns:
- new instance of
ArrayOperators.Reduce.
-