Package io.trino.operator.aggregation
Class GenericAccumulatorFactoryBinder
- java.lang.Object
-
- io.trino.operator.aggregation.GenericAccumulatorFactoryBinder
-
- All Implemented Interfaces:
AccumulatorFactoryBinder
public class GenericAccumulatorFactoryBinder extends Object implements AccumulatorFactoryBinder
-
-
Constructor Summary
Constructors Constructor Description GenericAccumulatorFactoryBinder(List<AggregationMetadata.AccumulatorStateDescriptor> stateDescriptors, Class<? extends Accumulator> accumulatorClass, boolean accumulatorHasRemoveInput, Class<? extends GroupedAccumulator> groupedAccumulatorClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccumulatorFactorybind(List<Integer> argumentChannels, Optional<Integer> maskChannel, List<Type> sourceTypes, List<Integer> orderByChannels, List<SortOrder> orderings, PagesIndex.Factory pagesIndexFactory, boolean distinct, JoinCompiler joinCompiler, BlockTypeOperators blockTypeOperators, List<LambdaProvider> lambdaProviders, Session session)List<AggregationMetadata.AccumulatorStateDescriptor>getStateDescriptors()
-
-
-
Constructor Detail
-
GenericAccumulatorFactoryBinder
public GenericAccumulatorFactoryBinder(List<AggregationMetadata.AccumulatorStateDescriptor> stateDescriptors, Class<? extends Accumulator> accumulatorClass, boolean accumulatorHasRemoveInput, Class<? extends GroupedAccumulator> groupedAccumulatorClass)
-
-
Method Detail
-
bind
public AccumulatorFactory bind(List<Integer> argumentChannels, Optional<Integer> maskChannel, List<Type> sourceTypes, List<Integer> orderByChannels, List<SortOrder> orderings, PagesIndex.Factory pagesIndexFactory, boolean distinct, JoinCompiler joinCompiler, BlockTypeOperators blockTypeOperators, List<LambdaProvider> lambdaProviders, Session session)
- Specified by:
bindin interfaceAccumulatorFactoryBinder
-
getStateDescriptors
public List<AggregationMetadata.AccumulatorStateDescriptor> getStateDescriptors()
-
-