public class DeltaBinaryPackingValuesReader extends ValuesReader
DeltaBinaryPackingValuesWriter| Constructor and Description |
|---|
DeltaBinaryPackingValuesReader() |
| Modifier and Type | Method and Description |
|---|---|
int |
getNextOffset()
Called to return offset of the next section
|
void |
initFromPage(int valueCount,
byte[] page,
int offset)
eagerly load all the data into memory
|
int |
readInteger() |
void |
skip()
Skips the next value in the page
|
readBoolean, readBytes, readDouble, readFloat, readLong, readValueDictionaryIdpublic void initFromPage(int valueCount,
byte[] page,
int offset)
throws IOException
initFromPage in class ValuesReadervalueCount - count of values in this pagepage - the array to read from containing the page data (repetition levels, definition levels, data)offset - where to start reading from in the pageIOExceptionpublic int getNextOffset()
ValuesReadergetNextOffset in class ValuesReaderpublic void skip()
ValuesReaderskip in class ValuesReaderpublic int readInteger()
readInteger in class ValuesReaderCopyright © 2015 The Apache Software Foundation. All rights reserved.