ReducingAggregationHandler
Implementation of AggregatorAggregationHandler which functions like a reducer: it takes a sequence of values and returns a single value, which can be a completely different type.
Parameters
This function actually does the reduction. Before it is called, nulls are filtered out. The type of the values is passed as KType to the reducer.
This function must be supplied to give the return type of reducer given some input type and whether the input is empty.
See also
Functions
Base function of Aggregator.
Aggregates the data in the given column and computes a single resulting value. Calls aggregateSequence. It tries to exploit a cache for statistics which can be accessed by ValueColumnInternal
Give the return type of reducer given some input type and whether the input is empty. Calls the supplied getReturnType.
This function always returns -1 because the result of a reducer is not in the input values.