Class BasicLazyAccumulator<TAccumulate,TSource>
java.lang.Object
org.apache.calcite.adapter.enumerable.BasicLazyAccumulator<TAccumulate,TSource>
- Type Parameters:
TAccumulate
- Type of the accumulatorTSource
- Type of the enumerable input source
- All Implemented Interfaces:
LazyAggregateLambdaFactory.LazyAccumulator<TAccumulate,
TSource>
public class BasicLazyAccumulator<TAccumulate,TSource>
extends Object
implements LazyAggregateLambdaFactory.LazyAccumulator<TAccumulate,TSource>
Performs accumulation against a pre-collected list of input sources,
used with
LazyAggregateLambdaFactory
.-
Constructor Summary
ConstructorDescriptionBasicLazyAccumulator
(Function2<TAccumulate, TSource, TAccumulate> accumulatorAdder) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accumulate
(Iterable<TSource> sourceIterable, TAccumulate accumulator)
-
Constructor Details
-
BasicLazyAccumulator
-
-
Method Details
-
accumulate
- Specified by:
accumulate
in interfaceLazyAggregateLambdaFactory.LazyAccumulator<TAccumulate,
TSource>
-