public static class IndexSourceOperator.IndexSourceOperatorFactory extends Object implements SourceOperatorFactory
| Constructor and Description |
|---|
IndexSourceOperatorFactory(int operatorId,
PlanNodeId sourceId,
ConnectorIndex index,
Function<RecordSet,RecordSet> probeKeyNormalizer) |
| 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 IndexSourceOperatorFactory(int operatorId,
PlanNodeId sourceId,
ConnectorIndex index,
Function<RecordSet,RecordSet> probeKeyNormalizer)
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.