SegmentedReductionAggregation#
- public final class SegmentedReductionAggregation#
An aggregation that can be used for a reduce.
Method Summary
All reduction.
Any reduction.
Execute a reduction using a host-side user-defined function (UDF).
Max Aggregation.
Min Aggregation.
Product Aggregation.
Sum Aggregation.
Static Methods
- public static SegmentedReductionAggregation sum()#
Sum Aggregation.
- public static SegmentedReductionAggregation product()#
Product Aggregation.
- public static SegmentedReductionAggregation min()#
Min Aggregation.
- public static SegmentedReductionAggregation max()#
Max Aggregation.
- public static SegmentedReductionAggregation any()#
Any reduction.
Produces a true or 1, depending on the output type, if any of the elements in the range are true or non-zero, otherwise produces a false or 0. Null values are skipped.
- public static SegmentedReductionAggregation all()#
All reduction.
Produces true or 1, depending on the output type, if all of the elements in the range are true or non-zero, otherwise produces a false or 0. Null values are skipped.
- public static SegmentedReductionAggregation hostUDF(
- HostUDFWrapper wrapper
Execute a reduction using a host-side user-defined function (UDF).
- Parameters:
wrapper – The wrapper for the native host UDF instance.
- Returns:
A new SegmentedReductionAggregation instance