Package io.prestosql.operator
Class JoinBridgeManager<T extends JoinBridge>
- java.lang.Object
-
- io.prestosql.operator.JoinBridgeManager<T>
-
public class JoinBridgeManager<T extends JoinBridge> extends Object
-
-
Constructor Summary
Constructors Constructor Description JoinBridgeManager(boolean buildOuter, PipelineExecutionStrategy probeExecutionStrategy, PipelineExecutionStrategy lookupSourceExecutionStrategy, Function<Lifespan,T> lookupSourceFactoryProvider, List<Type> buildOutputTypes)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PipelineExecutionStrategy
getBuildExecutionStrategy()
List<Type>
getBuildOutputTypes()
T
getJoinBridge(Lifespan lifespan)
com.google.common.util.concurrent.ListenableFuture<OuterPositionIterator>
getOuterPositionsFuture(Lifespan lifespan)
void
incrementProbeFactoryCount()
static JoinBridgeManager<PartitionedLookupSourceFactory>
lookupAllAtOnce(PartitionedLookupSourceFactory factory)
void
outerOperatorClosed(Lifespan lifespan)
void
outerOperatorCreated(Lifespan lifespan)
void
outerOperatorFactoryClosed(Lifespan lifespan)
void
probeOperatorClosed(Lifespan lifespan)
void
probeOperatorCreated(Lifespan lifespan)
void
probeOperatorFactoryClosed(Lifespan lifespan)
void
probeOperatorFactoryClosedForAllLifespans()
Invoked when a probe operator factory indicates that it will not create any more operators, for any lifespan.
-
-
-
Constructor Detail
-
JoinBridgeManager
public JoinBridgeManager(boolean buildOuter, PipelineExecutionStrategy probeExecutionStrategy, PipelineExecutionStrategy lookupSourceExecutionStrategy, Function<Lifespan,T> lookupSourceFactoryProvider, List<Type> buildOutputTypes)
-
-
Method Detail
-
lookupAllAtOnce
public static JoinBridgeManager<PartitionedLookupSourceFactory> lookupAllAtOnce(PartitionedLookupSourceFactory factory)
-
getBuildExecutionStrategy
public PipelineExecutionStrategy getBuildExecutionStrategy()
-
incrementProbeFactoryCount
public void incrementProbeFactoryCount()
-
probeOperatorFactoryClosedForAllLifespans
public void probeOperatorFactoryClosedForAllLifespans()
Invoked when a probe operator factory indicates that it will not create any more operators, for any lifespan.It is expected that this method will only be invoked after
probeOperatorFactoryClosed(Lifespan)
has been invoked for every known lifespan.
-
probeOperatorFactoryClosed
public void probeOperatorFactoryClosed(Lifespan lifespan)
-
probeOperatorCreated
public void probeOperatorCreated(Lifespan lifespan)
-
probeOperatorClosed
public void probeOperatorClosed(Lifespan lifespan)
-
outerOperatorFactoryClosed
public void outerOperatorFactoryClosed(Lifespan lifespan)
-
outerOperatorCreated
public void outerOperatorCreated(Lifespan lifespan)
-
outerOperatorClosed
public void outerOperatorClosed(Lifespan lifespan)
-
getOuterPositionsFuture
public com.google.common.util.concurrent.ListenableFuture<OuterPositionIterator> getOuterPositionsFuture(Lifespan lifespan)
-
-