public class IndexLookupSourceFactory extends Object implements LookupSourceFactory
| Constructor and Description |
|---|
IndexLookupSourceFactory(Set<Integer> lookupSourceInputChannels,
List<Integer> keyOutputChannels,
OptionalInt keyOutputHashChannel,
List<Type> outputTypes,
Map<Symbol,Integer> layout,
IndexBuildDriverFactoryProvider indexBuildDriverFactoryProvider,
io.airlift.units.DataSize maxIndexMemorySize,
IndexJoinLookupStats stats,
boolean shareIndexLoading,
PagesIndex.Factory pagesIndexFactory,
JoinCompiler joinCompiler) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<LookupSourceProvider> |
createLookupSourceProvider() |
void |
destroy() |
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() |
int |
partitions() |
void |
setTaskContext(TaskContext taskContext) |
com.google.common.util.concurrent.ListenableFuture<?> |
whenBuildFinishes() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfinishProbeOperator, isDestroyedpublic IndexLookupSourceFactory(Set<Integer> lookupSourceInputChannels, List<Integer> keyOutputChannels, OptionalInt keyOutputHashChannel, List<Type> outputTypes, Map<Symbol,Integer> layout, IndexBuildDriverFactoryProvider indexBuildDriverFactoryProvider, io.airlift.units.DataSize maxIndexMemorySize, IndexJoinLookupStats stats, boolean shareIndexLoading, PagesIndex.Factory pagesIndexFactory, JoinCompiler joinCompiler)
public List<Type> getTypes()
getTypes in interface LookupSourceFactorypublic List<Type> getOutputTypes()
getOutputTypes in interface LookupSourceFactorypublic Map<Symbol,Integer> getLayout()
getLayout in interface LookupSourceFactorypublic void setTaskContext(TaskContext taskContext)
setTaskContext 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 int partitions()
partitions 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 LookupSourceFactoryCopyright © 2012–2019. All rights reserved.