public static class AggregationOperator.AggregationOperatorFactory extends Object implements OperatorFactory
Constructor and Description |
---|
AggregationOperatorFactory(int operatorId,
PlanNodeId planNodeId,
AggregationNode.Step step,
List<AccumulatorFactory> accumulatorFactories,
boolean useSystemMemory) |
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, wait
noMoreOperators
public AggregationOperatorFactory(int operatorId, PlanNodeId planNodeId, AggregationNode.Step step, List<AccumulatorFactory> accumulatorFactories, boolean useSystemMemory)
public Operator createOperator(DriverContext driverContext)
createOperator
in interface OperatorFactory
public void noMoreOperators()
OperatorFactory
This 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 OperatorFactory
public OperatorFactory duplicate()
duplicate
in interface OperatorFactory
Copyright © 2012–2022. All rights reserved.