public class RunLengthBitPackingHybridValuesReader extends ValuesReader
initFromPage(int, org.apache.parquet.bytes.ByteBufferInputStream)
and stores the values in an in memory buffer, which is less than ideal.| Constructor and Description |
|---|
RunLengthBitPackingHybridValuesReader(int bitWidth) |
| Modifier and Type | Method and Description |
|---|---|
void |
initFromPage(int valueCountL,
ByteBufferInputStream stream)
Called to initialize the column reader from a part of a page.
|
boolean |
readBoolean() |
int |
readInteger() |
void |
skip()
Skips the next value in the page
|
readBytes, readDouble, readFloat, readLong, readValueDictionaryIdpublic RunLengthBitPackingHybridValuesReader(int bitWidth)
public void initFromPage(int valueCountL,
ByteBufferInputStream stream)
throws IOException
ValuesReaderinitFromPage in class ValuesReadervalueCountL - 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 int readInteger()
readInteger in class ValuesReaderpublic boolean readBoolean()
readBoolean in class ValuesReaderpublic void skip()
ValuesReaderskip in class ValuesReaderCopyright © 2019 The Apache Software Foundation. All rights reserved.