public class DeltaBinaryPackingValuesReader extends ValuesReader
DeltaBinaryPackingValuesWriter| Constructor and Description |
|---|
DeltaBinaryPackingValuesReader() |
| Modifier and Type | Method and Description |
|---|---|
void |
initFromPage(int valueCount,
ByteBufferInputStream stream)
eagerly loads all the data into memory
|
int |
readInteger() |
long |
readLong() |
void |
skip()
Skips the next value in the page
|
void |
skip(int n)
Skips the next n values in the page
|
getNextOffset, initFromPage, initFromPage, readBoolean, readBytes, readDouble, readFloat, readValueDictionaryId, updateNextOffsetpublic void initFromPage(int valueCount,
ByteBufferInputStream stream)
throws IOException
initFromPage in class ValuesReadervalueCount - count of values in this pagestream - an input stream containing the page data at the correct offsetIOException - if there is an exception while reading from the input streampublic void skip()
ValuesReaderskip in class ValuesReaderpublic void skip(int n)
ValuesReaderskip in class ValuesReadern - the number of values to be skippedpublic int readInteger()
readInteger in class ValuesReaderpublic long readLong()
readLong in class ValuesReaderCopyright © 2024 The Apache Software Foundation. All rights reserved.