Package io.trino.operator.aggregation
Interface Accumulator
-
public interface Accumulator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddInput(WindowIndex index, List<Integer> channels, int startPosition, int endPosition)voidaddInput(Page page)voidaddIntermediate(Block block)voidevaluateFinal(BlockBuilder blockBuilder)voidevaluateIntermediate(BlockBuilder blockBuilder)longgetEstimatedSize()TypegetFinalType()TypegetIntermediateType()voidremoveInput(WindowIndex index, List<Integer> channels, int startPosition, int endPosition)
-
-
-
Method Detail
-
getEstimatedSize
long getEstimatedSize()
-
getFinalType
Type getFinalType()
-
getIntermediateType
Type getIntermediateType()
-
addInput
void addInput(Page page)
-
addInput
void addInput(WindowIndex index, List<Integer> channels, int startPosition, int endPosition)
-
removeInput
void removeInput(WindowIndex index, List<Integer> channels, int startPosition, int endPosition)
-
addIntermediate
void addIntermediate(Block block)
-
evaluateIntermediate
void evaluateIntermediate(BlockBuilder blockBuilder)
-
evaluateFinal
void evaluateFinal(BlockBuilder blockBuilder)
-
-