@Immutable public class IndexSnapshot extends Object implements IndexedData
NO_MORE_POSITIONS, UNLOADED_INDEX_KEY| Constructor and Description |
|---|
IndexSnapshot(LookupSource values,
LookupSource missingKeys) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendTo(long position,
PageBuilder pageBuilder,
int outputChannelOffset) |
void |
close() |
long |
getJoinPosition(int position,
Page page)
Returns UNLOADED_INDEX_KEY if the key has not been loaded.
|
long |
getNextJoinPosition(long currentPosition)
Returns the next address to join.
|
public IndexSnapshot(LookupSource values, LookupSource missingKeys)
public long getJoinPosition(int position,
Page page)
IndexedDatagetJoinPosition in interface IndexedDatapublic long getNextJoinPosition(long currentPosition)
IndexedDatagetNextJoinPosition in interface IndexedDatapublic void appendTo(long position,
PageBuilder pageBuilder,
int outputChannelOffset)
appendTo in interface IndexedDatapublic void close()
close in interface IndexedDataclose in interface Closeableclose in interface AutoCloseableCopyright © 2012–2019. All rights reserved.