TAccumulate - Type of the accumulatorTSource - Type of the enumerable input sourceTSortKey - Type of the sort keypublic class SourceSorter<TAccumulate,TSource,TSortKey> extends Object implements LazyAggregateLambdaFactory.LazyAccumulator<TAccumulate,TSource>
LazyAggregateLambdaFactory.| Constructor and Description |
|---|
SourceSorter(org.apache.calcite.linq4j.function.Function2<TAccumulate,TSource,TAccumulate> accumulatorAdder,
org.apache.calcite.linq4j.function.Function1<TSource,TSortKey> keySelector,
Comparator<TSortKey> comparator) |
| Modifier and Type | Method and Description |
|---|---|
void |
accumulate(Iterable<TSource> sourceIterable,
TAccumulate accumulator) |
public SourceSorter(org.apache.calcite.linq4j.function.Function2<TAccumulate,TSource,TAccumulate> accumulatorAdder, org.apache.calcite.linq4j.function.Function1<TSource,TSortKey> keySelector, Comparator<TSortKey> comparator)
public void accumulate(Iterable<TSource> sourceIterable, TAccumulate accumulator)
accumulate in interface LazyAggregateLambdaFactory.LazyAccumulator<TAccumulate,TSource>Copyright © 2012-2022 Apache Software Foundation. All Rights Reserved.