Package io.trino.operator.aggregation
Class AggregatorFactory
- java.lang.Object
-
- io.trino.operator.aggregation.AggregatorFactory
-
public class AggregatorFactory extends Object
-
-
Constructor Summary
Constructors Constructor Description AggregatorFactory(AccumulatorFactory accumulatorFactory, AggregationNode.Step step, Type intermediateType, Type finalType, List<Integer> inputChannels, OptionalInt maskChannel, boolean spillable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AggregatorcreateAggregator()GroupedAggregatorcreateGroupedAggregator()GroupedAggregatorcreateUnspillGroupedAggregator(AggregationNode.Step step, int inputChannel)booleanisSpillable()
-
-
-
Constructor Detail
-
AggregatorFactory
public AggregatorFactory(AccumulatorFactory accumulatorFactory, AggregationNode.Step step, Type intermediateType, Type finalType, List<Integer> inputChannels, OptionalInt maskChannel, boolean spillable)
-
-
Method Detail
-
createAggregator
public Aggregator createAggregator()
-
createGroupedAggregator
public GroupedAggregator createGroupedAggregator()
-
createUnspillGroupedAggregator
public GroupedAggregator createUnspillGroupedAggregator(AggregationNode.Step step, int inputChannel)
-
isSpillable
public boolean isSpillable()
-
-