TSource - Type of the enumerable input sourceTKey - Type of the group-by keyTOrigAccumulate - Type of the original accumulatorTResult - Type of the enumerable output resultpublic class LazyAggregateLambdaFactory<TSource,TKey,TOrigAccumulate,TResult> extends Object implements AggregateLambdaFactory<TSource,TOrigAccumulate,LazyAggregateLambdaFactory.LazySource<TSource>,TResult,TKey>
| Modifier and Type | Class and Description |
|---|---|
static interface |
LazyAggregateLambdaFactory.LazyAccumulator<TOrigAccumulate,TSource>
Accumulate on the cached input sources.
|
static class |
LazyAggregateLambdaFactory.LazySource<TSource>
Cache the input sources.
|
| Constructor and Description |
|---|
LazyAggregateLambdaFactory(org.apache.calcite.linq4j.function.Function0<TOrigAccumulate> accumulatorInitializer,
List<LazyAggregateLambdaFactory.LazyAccumulator<TOrigAccumulate,TSource>> accumulators) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.calcite.linq4j.function.Function2<LazyAggregateLambdaFactory.LazySource<TSource>,TSource,LazyAggregateLambdaFactory.LazySource<TSource>> |
accumulatorAdder() |
org.apache.calcite.linq4j.function.Function0<LazyAggregateLambdaFactory.LazySource<TSource>> |
accumulatorInitializer() |
org.apache.calcite.linq4j.function.Function2<TKey,LazyAggregateLambdaFactory.LazySource<TSource>,TResult> |
resultSelector(org.apache.calcite.linq4j.function.Function2<TKey,TOrigAccumulate,TResult> resultSelector) |
org.apache.calcite.linq4j.function.Function1<LazyAggregateLambdaFactory.LazySource<TSource>,TResult> |
singleGroupResultSelector(org.apache.calcite.linq4j.function.Function1<TOrigAccumulate,TResult> resultSelector) |
public LazyAggregateLambdaFactory(org.apache.calcite.linq4j.function.Function0<TOrigAccumulate> accumulatorInitializer, List<LazyAggregateLambdaFactory.LazyAccumulator<TOrigAccumulate,TSource>> accumulators)
public org.apache.calcite.linq4j.function.Function0<LazyAggregateLambdaFactory.LazySource<TSource>> accumulatorInitializer()
accumulatorInitializer in interface AggregateLambdaFactory<TSource,TOrigAccumulate,LazyAggregateLambdaFactory.LazySource<TSource>,TResult,TKey>public org.apache.calcite.linq4j.function.Function2<LazyAggregateLambdaFactory.LazySource<TSource>,TSource,LazyAggregateLambdaFactory.LazySource<TSource>> accumulatorAdder()
accumulatorAdder in interface AggregateLambdaFactory<TSource,TOrigAccumulate,LazyAggregateLambdaFactory.LazySource<TSource>,TResult,TKey>public org.apache.calcite.linq4j.function.Function1<LazyAggregateLambdaFactory.LazySource<TSource>,TResult> singleGroupResultSelector(org.apache.calcite.linq4j.function.Function1<TOrigAccumulate,TResult> resultSelector)
singleGroupResultSelector in interface AggregateLambdaFactory<TSource,TOrigAccumulate,LazyAggregateLambdaFactory.LazySource<TSource>,TResult,TKey>public org.apache.calcite.linq4j.function.Function2<TKey,LazyAggregateLambdaFactory.LazySource<TSource>,TResult> resultSelector(org.apache.calcite.linq4j.function.Function2<TKey,TOrigAccumulate,TResult> resultSelector)
resultSelector in interface AggregateLambdaFactory<TSource,TOrigAccumulate,LazyAggregateLambdaFactory.LazySource<TSource>,TResult,TKey>Copyright © 2012-2022 Apache Software Foundation. All Rights Reserved.