SegmentedReductionAggregation#

public final class SegmentedReductionAggregation#

An aggregation that can be used for a reduce.

Method Summary

all()

All reduction.

any()

Any reduction.

equals(Object other)

hashCode()

hostUDF(HostUDFWrapper wrapper)

Execute a reduction using a host-side user-defined function (UDF).

max()

Max Aggregation.

min()

Min Aggregation.

product()

Product Aggregation.

sum()

Sum Aggregation.

Methods

public int hashCode()#
public boolean equals(Object other)#

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