public static class MergeOperator.MergeOperatorFactory extends Object implements SourceOperatorFactory
| Constructor and Description |
|---|
MergeOperatorFactory(int operatorId,
PlanNodeId sourceId,
ExchangeClientSupplier exchangeClientSupplier,
PagesSerdeFactory serdeFactory,
OrderingCompiler orderingCompiler,
List<Type> types,
List<Integer> outputChannels,
List<Integer> sortChannels,
List<SortOrder> sortOrder) |
| Modifier and Type | Method and Description |
|---|---|
SourceOperator |
createOperator(DriverContext driverContext) |
PlanNodeId |
getSourceId() |
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, waitduplicatenoMoreOperatorspublic MergeOperatorFactory(int operatorId,
PlanNodeId sourceId,
ExchangeClientSupplier exchangeClientSupplier,
PagesSerdeFactory serdeFactory,
OrderingCompiler orderingCompiler,
List<Type> types,
List<Integer> outputChannels,
List<Integer> sortChannels,
List<SortOrder> sortOrder)
public PlanNodeId getSourceId()
getSourceId in interface SourceOperatorFactorypublic SourceOperator createOperator(DriverContext driverContext)
createOperator in interface OperatorFactorycreateOperator in interface SourceOperatorFactorypublic 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 OperatorFactoryCopyright © 2012–2019. All rights reserved.