public static class LocalExchangeSourceOperator.LocalExchangeSourceOperatorFactory extends Object implements OperatorFactory
| Constructor and Description |
|---|
LocalExchangeSourceOperatorFactory(int operatorId,
PlanNodeId planNodeId,
LocalExchange.LocalExchangeFactory localExchangeFactory) |
| Modifier and Type | Method and Description |
|---|---|
Operator |
createOperator(DriverContext driverContext) |
OperatorFactory |
duplicate() |
LocalExchange.LocalExchangeFactory |
getLocalExchangeFactory() |
void |
noMoreOperators()
Declare that createOperator will not be called any more and release
any resources associated with this factory.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnoMoreOperatorspublic LocalExchangeSourceOperatorFactory(int operatorId,
PlanNodeId planNodeId,
LocalExchange.LocalExchangeFactory localExchangeFactory)
public Operator createOperator(DriverContext driverContext)
createOperator in interface OperatorFactorypublic void noMoreOperators()
OperatorFactoryThis method will be called only once. Implementation doesn't need to worry about duplicate invocations.
It is guaranteed that this will only be invoked after OperatorFactory.noMoreOperators(Lifespan)
has been invoked for all applicable driver groups.
noMoreOperators in interface OperatorFactorypublic OperatorFactory duplicate()
duplicate in interface OperatorFactorypublic LocalExchange.LocalExchangeFactory getLocalExchangeFactory()
Copyright © 2012–2019. All rights reserved.