Class SpillableHashAggregationBuilder
java.lang.Object
io.trino.operator.aggregation.builder.SpillableHashAggregationBuilder
- All Implemented Interfaces:
HashAggregationBuilder,AutoCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionSpillableHashAggregationBuilder(List<AggregatorFactory> aggregatorFactories, AggregationNode.Step step, int expectedGroups, List<Type> groupByTypes, List<Integer> groupByChannels, Optional<Integer> hashChannel, OperatorContext operatorContext, io.airlift.units.DataSize memoryLimitForMerge, io.airlift.units.DataSize memoryLimitForMergeWithMemory, SpillerFactory spillerFactory, FlatHashStrategyCompiler hashStrategyCompiler, TypeOperators typeOperators) -
Method Summary
-
Constructor Details
-
SpillableHashAggregationBuilder
public SpillableHashAggregationBuilder(List<AggregatorFactory> aggregatorFactories, AggregationNode.Step step, int expectedGroups, List<Type> groupByTypes, List<Integer> groupByChannels, Optional<Integer> hashChannel, OperatorContext operatorContext, io.airlift.units.DataSize memoryLimitForMerge, io.airlift.units.DataSize memoryLimitForMergeWithMemory, SpillerFactory spillerFactory, FlatHashStrategyCompiler hashStrategyCompiler, TypeOperators typeOperators)
-
-
Method Details
-
processPage
- Specified by:
processPagein interfaceHashAggregationBuilder
-
updateMemory
public void updateMemory()- Specified by:
updateMemoryin interfaceHashAggregationBuilder
-
isFull
public boolean isFull()- Specified by:
isFullin interfaceHashAggregationBuilder
-
startMemoryRevoke
- Specified by:
startMemoryRevokein interfaceHashAggregationBuilder
-
finishMemoryRevoke
public void finishMemoryRevoke()- Specified by:
finishMemoryRevokein interfaceHashAggregationBuilder
-
buildResult
- Specified by:
buildResultin interfaceHashAggregationBuilder
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceHashAggregationBuilder
-