public final class PartitionedLookupSourceFactory extends Object implements LookupSourceFactory
| Constructor and Description |
|---|
PartitionedLookupSourceFactory(List<Type> types,
List<Type> outputTypes,
List<Type> hashChannelTypes,
int partitionCount,
Map<Symbol,Integer> layout,
boolean outer) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<LookupSourceProvider> |
createLookupSourceProvider() |
void |
destroy() |
com.google.common.util.concurrent.ListenableFuture<PartitionedConsumption<Supplier<LookupSource>>> |
finishProbeOperator(OptionalInt lookupJoinsCount) |
Map<Symbol,Integer> |
getLayout() |
OuterPositionIterator |
getOuterPositionIterator()
Can be called only after
LookupSourceFactory.createLookupSourceProvider() is done and all users of LookupSource-s finished. |
List<Type> |
getOutputTypes() |
List<Type> |
getTypes() |
com.google.common.util.concurrent.ListenableFuture<?> |
isDestroyed() |
com.google.common.util.concurrent.ListenableFuture<?> |
lendPartitionLookupSource(int partitionIndex,
Supplier<LookupSource> partitionLookupSource) |
int |
partitions() |
void |
setPartitionSpilledLookupSourceHandle(int partitionIndex,
io.prestosql.operator.SpilledLookupSourceHandle spilledLookupSourceHandle) |
com.google.common.util.concurrent.ListenableFuture<?> |
whenBuildFinishes() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetTaskContextpublic List<Type> getTypes()
getTypes in interface LookupSourceFactorypublic List<Type> getOutputTypes()
getOutputTypes in interface LookupSourceFactorypublic Map<Symbol,Integer> getLayout()
getLayout in interface LookupSourceFactorypublic int partitions()
partitions in interface LookupSourceFactorypublic com.google.common.util.concurrent.ListenableFuture<LookupSourceProvider> createLookupSourceProvider()
createLookupSourceProvider in interface LookupSourceFactorypublic com.google.common.util.concurrent.ListenableFuture<?> whenBuildFinishes()
whenBuildFinishes in interface JoinBridgepublic com.google.common.util.concurrent.ListenableFuture<?> lendPartitionLookupSource(int partitionIndex,
Supplier<LookupSource> partitionLookupSource)
public void setPartitionSpilledLookupSourceHandle(int partitionIndex,
io.prestosql.operator.SpilledLookupSourceHandle spilledLookupSourceHandle)
public com.google.common.util.concurrent.ListenableFuture<PartitionedConsumption<Supplier<LookupSource>>> finishProbeOperator(OptionalInt lookupJoinsCount)
finishProbeOperator in interface LookupSourceFactorypublic OuterPositionIterator getOuterPositionIterator()
LookupSourceFactoryLookupSourceFactory.createLookupSourceProvider() is done and all users of LookupSource-s finished.getOuterPositionIterator in interface JoinBridgegetOuterPositionIterator in interface LookupSourceFactorypublic void destroy()
destroy in interface JoinBridgedestroy in interface LookupSourceFactorypublic com.google.common.util.concurrent.ListenableFuture<?> isDestroyed()
isDestroyed in interface LookupSourceFactoryCopyright © 2012–2019. All rights reserved.