public class LookupJoinOperatorFactory extends Object implements JoinOperatorFactory
JoinOperatorFactory.OuterOperatorFactoryResult| Constructor and Description |
|---|
LookupJoinOperatorFactory(int operatorId,
PlanNodeId planNodeId,
JoinBridgeManager<? extends LookupSourceFactory> lookupSourceFactoryManager,
List<Type> probeTypes,
List<Type> probeOutputTypes,
List<Type> buildOutputTypes,
LookupJoinOperators.JoinType joinType,
JoinProbe.JoinProbeFactory joinProbeFactory,
OptionalInt totalOperatorsCount,
List<Integer> probeJoinChannels,
OptionalInt probeHashChannel,
PartitioningSpillerFactory partitioningSpillerFactory) |
| Modifier and Type | Method and Description |
|---|---|
Operator |
createOperator(DriverContext driverContext) |
Optional<JoinOperatorFactory.OuterOperatorFactoryResult> |
createOuterOperatorFactory() |
OperatorFactory |
duplicate() |
int |
getOperatorId() |
void |
noMoreOperators()
Declare that createOperator will not be called any more and release
any resources associated with this factory.
|
void |
noMoreOperators(Lifespan lifespan)
Declare that createOperator will not be called any more for the specified Lifespan,
and release any resources associated with this factory.
|
public LookupJoinOperatorFactory(int operatorId,
PlanNodeId planNodeId,
JoinBridgeManager<? extends LookupSourceFactory> lookupSourceFactoryManager,
List<Type> probeTypes,
List<Type> probeOutputTypes,
List<Type> buildOutputTypes,
LookupJoinOperators.JoinType joinType,
JoinProbe.JoinProbeFactory joinProbeFactory,
OptionalInt totalOperatorsCount,
List<Integer> probeJoinChannels,
OptionalInt probeHashChannel,
PartitioningSpillerFactory partitioningSpillerFactory)
public int getOperatorId()
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 void noMoreOperators(Lifespan lifespan)
OperatorFactoryThis method will be called only once for each Lifespan. Implementation doesn't need to worry about duplicate invocations.
It is guaranteed that this method will be invoked for all applicable driver groups
before OperatorFactory.noMoreOperators() is invoked.
noMoreOperators in interface OperatorFactorypublic OperatorFactory duplicate()
duplicate in interface OperatorFactorypublic Optional<JoinOperatorFactory.OuterOperatorFactoryResult> createOuterOperatorFactory()
createOuterOperatorFactory in interface JoinOperatorFactoryCopyright © 2012–2019. All rights reserved.