Package io.trino.operator.output
Class PagePartitioner
java.lang.Object
io.trino.operator.output.PagePartitioner
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionPagePartitioner(PartitionFunction partitionFunction, List<Integer> partitionChannels, List<Optional<NullableValue>> partitionConstants, boolean replicatesAnyRow, OptionalInt nullChannel, OutputBuffer outputBuffer, PagesSerdeFactory serdeFactory, List<Type> sourceTypes, io.airlift.units.DataSize maxMemory, PositionsAppenderFactory positionsAppenderFactory, Optional<io.airlift.slice.Slice> exchangeEncryptionKey, AggregatedMemoryContext aggregatedMemoryContext) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidpartitionPage(Page page) voidpartitionPageByColumn(Page page) voidpartitionPageByRow(Page page) voidsetupOperator(OperatorContext operatorContext)
-
Constructor Details
-
PagePartitioner
public PagePartitioner(PartitionFunction partitionFunction, List<Integer> partitionChannels, List<Optional<NullableValue>> partitionConstants, boolean replicatesAnyRow, OptionalInt nullChannel, OutputBuffer outputBuffer, PagesSerdeFactory serdeFactory, List<Type> sourceTypes, io.airlift.units.DataSize maxMemory, PositionsAppenderFactory positionsAppenderFactory, Optional<io.airlift.slice.Slice> exchangeEncryptionKey, AggregatedMemoryContext aggregatedMemoryContext)
-
-
Method Details
-
setupOperator
-
partitionPage
-
partitionPageByRow
-
partitionPageByColumn
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-