FlatteningMultipleColumnsHandler
internal class FlatteningMultipleColumnsHandler<in Value : Any, out Return> : AggregatorMultipleColumnsHandler<Value, Return>
Implementation of AggregatorMultipleColumnsHandler that simply flattens all input columns. This is useful for aggregators that depend on the distribution of values across multiple columns.
See also
Functions
Link copied to clipboard
Aggregates the data in the multiple given columns and computes a single resulting value. The columns are flattened into a single list of values; then the aggregation function is called with the common type of the columns.
Link copied to clipboard
open override 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