Package-level declarations

Types

Link copied to clipboard
internal class HybridAggregationHandler<in Value : Any, out Return>(val reducer: Reducer<Value, Return>, val indexOfResult: IndexOfResult<Value>, val getReturnType: CalculateReturnType) : AggregatorAggregationHandler<Value, Return>

Implementation of AggregatorAggregationHandler which functions like a selector ánd reducer: it takes a sequence of values and returns a single value, which is likely part of the input, but not necessarily.

Link copied to clipboard

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.

Link copied to clipboard
internal class SelectingAggregationHandler<in Value : Return & Any, out Return>(val selector: Selector<Value, Return>, val indexOfResult: IndexOfResult<Value>, val getReturnType: CalculateReturnType) : AggregatorAggregationHandler<Value, Return>

Implementation of AggregatorAggregationHandler which functions like a selector: it takes a sequence of values and returns a single value, which must exist in the input.