public class BitPackingValuesReader extends ValuesReader
| Constructor and Description |
|---|
BitPackingValuesReader(int bound) |
| Modifier and Type | Method and Description |
|---|---|
int |
initFromPage(long valueCount,
byte[] in,
int offset)
Called to initialize the column reader from a part of a page.
|
int |
readInteger() |
void |
skip()
Skips the next value in the page
|
readBoolean, readBytes, readDouble, readFloat, readLong, readValueDictionaryIdpublic BitPackingValuesReader(int bound)
bound - the maximum value stored by this columnpublic int readInteger()
readInteger in class ValuesReaderValuesReader.readInteger()public int initFromPage(long valueCount,
byte[] in,
int offset)
throws IOException
initFromPage in class ValuesReadervalueCount - count of values in this pagein - the array to read from containing the page data (repetition levels, definition levels, data)offset - where to start reading from in the pageIOExceptionValuesReader.initFromPage(long, byte[], int)public void skip()
ValuesReaderskip in class ValuesReaderCopyright © 2013. All Rights Reserved.