Package io.trino.operator.aggregation
Class AggregatorFactory
java.lang.Object
io.trino.operator.aggregation.AggregatorFactory
-
Constructor Summary
ConstructorsConstructorDescriptionAggregatorFactory(AccumulatorFactory accumulatorFactory, AggregationNode.Step step, Type intermediateType, Type finalType, List<Integer> inputChannels, OptionalInt maskChannel, boolean spillable, List<Supplier<Object>> lambdaProviders) -
Method Summary
Modifier and TypeMethodDescriptioncreateUnspillGroupedAggregator(AggregationNode.Step step, int inputChannel) boolean
-
Constructor Details
-
AggregatorFactory
public AggregatorFactory(AccumulatorFactory accumulatorFactory, AggregationNode.Step step, Type intermediateType, Type finalType, List<Integer> inputChannels, OptionalInt maskChannel, boolean spillable, List<Supplier<Object>> lambdaProviders)
-
-
Method Details
-
createAggregator
-
createGroupedAggregator
-
createUnspillGroupedAggregator
public GroupedAggregator createUnspillGroupedAggregator(AggregationNode.Step step, int inputChannel) -
isSpillable
public boolean isSpillable()
-