@ThreadSafe public class IndexLoader extends Object
| Constructor and Description |
|---|
IndexLoader(Set<Integer> lookupSourceInputChannels,
List<Integer> keyOutputChannels,
OptionalInt keyOutputHashChannel,
List<Type> outputTypes,
IndexBuildDriverFactoryProvider indexBuildDriverFactoryProvider,
int expectedPositions,
io.airlift.units.DataSize maxIndexMemorySize,
IndexJoinLookupStats stats,
PagesIndex.Factory pagesIndexFactory,
JoinCompiler joinCompiler) |
| Modifier and Type | Method and Description |
|---|---|
int |
getChannelCount() |
IndexedData |
getIndexedDataForKeys(int position,
Page indexPage) |
IndexSnapshot |
getIndexSnapshot() |
List<Type> |
getOutputTypes() |
void |
setContext(TaskContext taskContext) |
IndexedData |
streamIndexDataForSingleKey(io.prestosql.operator.index.UpdateRequest updateRequest) |
public IndexLoader(Set<Integer> lookupSourceInputChannels, List<Integer> keyOutputChannels, OptionalInt keyOutputHashChannel, List<Type> outputTypes, IndexBuildDriverFactoryProvider indexBuildDriverFactoryProvider, int expectedPositions, io.airlift.units.DataSize maxIndexMemorySize, IndexJoinLookupStats stats, PagesIndex.Factory pagesIndexFactory, JoinCompiler joinCompiler)
public void setContext(TaskContext taskContext)
public int getChannelCount()
public IndexSnapshot getIndexSnapshot()
public IndexedData getIndexedDataForKeys(int position, Page indexPage)
public IndexedData streamIndexDataForSingleKey(io.prestosql.operator.index.UpdateRequest updateRequest)
Copyright © 2012–2019. All rights reserved.