Class OrderedWindowAccumulator
java.lang.Object
io.trino.operator.aggregation.OrderedWindowAccumulator
- All Implemented Interfaces:
WindowAccumulator
-
Constructor Summary
ConstructorsConstructorDescriptionOrderedWindowAccumulator(PagesIndex.Factory pagesIndexFactory, WindowAccumulator delegate, List<Type> argumentTypes, List<Integer> argumentChannels, List<Integer> sortKeysArguments, List<SortOrder> sortOrders) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddInput(WindowIndex index, int startPosition, int endPosition) copy()longvoidoutput(BlockBuilder blockBuilder) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.trino.spi.function.WindowAccumulator
removeInput
-
Constructor Details
-
OrderedWindowAccumulator
public OrderedWindowAccumulator(PagesIndex.Factory pagesIndexFactory, WindowAccumulator delegate, List<Type> argumentTypes, List<Integer> argumentChannels, List<Integer> sortKeysArguments, List<SortOrder> sortOrders)
-
-
Method Details
-
getEstimatedSize
public long getEstimatedSize()- Specified by:
getEstimatedSizein interfaceWindowAccumulator
-
copy
- Specified by:
copyin interfaceWindowAccumulator
-
addInput
- Specified by:
addInputin interfaceWindowAccumulator
-
output
- Specified by:
outputin interfaceWindowAccumulator
-