Package io.trino.operator.exchange
Class LocalExchangeSinkOperator.LocalExchangeSinkOperatorFactory
java.lang.Object
io.trino.operator.exchange.LocalExchangeSinkOperator.LocalExchangeSinkOperatorFactory
- All Implemented Interfaces:
LocalPlannerAware,OperatorFactory
- Enclosing class:
LocalExchangeSinkOperator
public static class LocalExchangeSinkOperator.LocalExchangeSinkOperatorFactory
extends Object
implements OperatorFactory, LocalPlannerAware
-
Constructor Summary
ConstructorsConstructorDescriptionLocalExchangeSinkOperatorFactory(LocalExchange.LocalExchangeSinkFactory sinkFactory, int operatorId, PlanNodeId planNodeId, Function<Page, Page> pagePreprocessor) -
Method Summary
Modifier and TypeMethodDescriptioncreateOperator(DriverContext driverContext) voidvoidDeclare that createOperator will not be called any more and release any resources associated with this factory.
-
Constructor Details
-
LocalExchangeSinkOperatorFactory
public LocalExchangeSinkOperatorFactory(LocalExchange.LocalExchangeSinkFactory sinkFactory, int operatorId, PlanNodeId planNodeId, Function<Page, Page> pagePreprocessor)
-
-
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
-
localPlannerComplete
public void localPlannerComplete()- Specified by:
localPlannerCompletein interfaceLocalPlannerAware
-