AggregatorMultipleColumnsHandler

The multiple columns handler, which specifies how to aggregate multiple columns into a single value by using the supplied AggregatorAggregationHandler. It can also calculate the return type of the aggregation given all input column types.

Inheritors

Properties

Link copied to clipboard

Reference to the aggregator instance.

Functions

Link copied to clipboard

Aggregates the data in the multiple given columns and computes a single resulting value. Calls Aggregator.aggregateSequence or Aggregator.aggregateSingleColumn.

Link copied to clipboard
abstract fun calculateReturnTypeMultipleColumns(colTypes: Set<KType>, colsEmpty: Boolean): KType

Function that can give the return type of aggregateMultipleColumns, given types of the columns. This allows aggregators to avoid runtime type calculations.

Link copied to clipboard
open fun init(aggregator: Aggregator<Value, Return>)