Class SkipAggregationBuilder
java.lang.Object
io.trino.operator.aggregation.partial.SkipAggregationBuilder
- All Implemented Interfaces:
HashAggregationBuilder,AutoCloseable
HashAggregationBuilder that does not aggregate input rows at all.
It passes the input pages, augmented with initial accumulator state to the output.
It can only be used at the partial aggregation step as it relies on rows be aggregated at the final step.-
Constructor Summary
ConstructorsConstructorDescriptionSkipAggregationBuilder(List<Integer> groupByChannels, Optional<Integer> inputHashChannel, List<AggregatorFactory> aggregatorFactories, LocalMemoryContext memoryContext) -
Method Summary
-
Constructor Details
-
SkipAggregationBuilder
public SkipAggregationBuilder(List<Integer> groupByChannels, Optional<Integer> inputHashChannel, List<AggregatorFactory> aggregatorFactories, LocalMemoryContext memoryContext)
-
-
Method Details
-
processPage
- Specified by:
processPagein interfaceHashAggregationBuilder
-
buildResult
- Specified by:
buildResultin interfaceHashAggregationBuilder
-
isFull
public boolean isFull()- Specified by:
isFullin interfaceHashAggregationBuilder
-
updateMemory
public void updateMemory()- Specified by:
updateMemoryin interfaceHashAggregationBuilder
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceHashAggregationBuilder
-
startMemoryRevoke
- Specified by:
startMemoryRevokein interfaceHashAggregationBuilder
-
finishMemoryRevoke
public void finishMemoryRevoke()- Specified by:
finishMemoryRevokein interfaceHashAggregationBuilder
-