public class BitPackingValuesReader extends ValuesReader
| Constructor and Description |
|---|
BitPackingValuesReader(int bound) |
| Modifier and Type | Method and Description |
|---|---|
void |
initFromPage(int valueCount,
ByteBufferInputStream stream)
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 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 streamValuesReader.initFromPage(int, ByteBufferInputStream)public void skip()
ValuesReaderskip in class ValuesReaderCopyright © 2019 The Apache Software Foundation. All rights reserved.