public static class OrderByOperator.OrderByOperatorFactory extends Object implements OperatorFactory
| Constructor and Description |
|---|
OrderByOperatorFactory(int operatorId,
PlanNodeId planNodeId,
List<? extends Type> sourceTypes,
List<Integer> outputChannels,
int expectedPositions,
List<Integer> sortChannels,
List<SortOrder> sortOrder,
PagesIndex.Factory pagesIndexFactory,
boolean spillEnabled,
Optional<SpillerFactory> spillerFactory,
OrderingCompiler orderingCompiler) |
| Modifier and Type | Method and Description |
|---|---|
Operator |
createOperator(DriverContext driverContext) |
OperatorFactory |
duplicate() |
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 OrderByOperatorFactory(int operatorId,
PlanNodeId planNodeId,
List<? extends Type> sourceTypes,
List<Integer> outputChannels,
int expectedPositions,
List<Integer> sortChannels,
List<SortOrder> sortOrder,
PagesIndex.Factory pagesIndexFactory,
boolean spillEnabled,
Optional<SpillerFactory> spillerFactory,
OrderingCompiler orderingCompiler)
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 OperatorFactoryCopyright © 2012–2019. All rights reserved.