Package io.trino.operator.output
Class PartitionedOutputOperator.PartitionedOutputOperatorFactory
java.lang.Object
io.trino.operator.output.PartitionedOutputOperator.PartitionedOutputOperatorFactory
- All Implemented Interfaces:
OperatorFactory
- Enclosing class:
PartitionedOutputOperator
public static class PartitionedOutputOperator.PartitionedOutputOperatorFactory
extends Object
implements OperatorFactory
-
Constructor Summary
ConstructorsConstructorDescriptionPartitionedOutputOperatorFactory(int operatorId, PlanNodeId planNodeId, List<Type> sourceTypes, Function<Page, Page> pagePreprocessor, PartitionFunction partitionFunction, List<Integer> partitionChannels, List<Optional<NullableValue>> partitionConstants, boolean replicatesAnyRow, OptionalInt nullChannel, OutputBuffer outputBuffer, PagesSerdeFactory serdeFactory, io.airlift.units.DataSize maxMemory, PositionsAppenderFactory positionsAppenderFactory, Optional<io.airlift.slice.Slice> exchangeEncryptionKey, AggregatedMemoryContext memoryContext, int pagePartitionerPoolSize, Optional<SkewedPartitionRebalancer> skewedPartitionRebalancer) -
Method Summary
Modifier and TypeMethodDescriptioncreateOperator(DriverContext driverContext) voidDeclare that createOperator will not be called any more and release any resources associated with this factory.
-
Constructor Details
-
PartitionedOutputOperatorFactory
public PartitionedOutputOperatorFactory(int operatorId, PlanNodeId planNodeId, List<Type> sourceTypes, Function<Page, Page> pagePreprocessor, PartitionFunction partitionFunction, List<Integer> partitionChannels, List<Optional<NullableValue>> partitionConstants, boolean replicatesAnyRow, OptionalInt nullChannel, OutputBuffer outputBuffer, PagesSerdeFactory serdeFactory, io.airlift.units.DataSize maxMemory, PositionsAppenderFactory positionsAppenderFactory, Optional<io.airlift.slice.Slice> exchangeEncryptionKey, AggregatedMemoryContext memoryContext, int pagePartitionerPoolSize, Optional<SkewedPartitionRebalancer> skewedPartitionRebalancer)
-
-
Method Details
-
createOperator
- Specified by:
createOperatorin interfaceOperatorFactory
-
noMoreOperators
public void noMoreOperators()Description copied from interface:OperatorFactoryDeclare that createOperator will not be called any more and release any resources associated with this factory.This method will be called only once. Implementation doesn't need to worry about duplicate invocations.
- Specified by:
noMoreOperatorsin interfaceOperatorFactory
-
duplicate
- Specified by:
duplicatein interfaceOperatorFactory
-