public class RunLengthBitPackingHybridValuesReader extends ValuesReader
initFromPage(int, java.nio.ByteBuffer, int)
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 |
|---|---|
int |
getNextOffset()
Called to return offset of the next section
|
void |
initFromPage(int valueCountL,
ByteBuffer page,
int offset)
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
|
initFromPage, readBytes, readDouble, readFloat, readLong, readValueDictionaryIdpublic RunLengthBitPackingHybridValuesReader(int bitWidth)
public void initFromPage(int valueCountL,
ByteBuffer page,
int offset)
throws IOException
ValuesReaderinitFromPage in class ValuesReadervalueCountL - 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 int readInteger()
readInteger in class ValuesReaderpublic boolean readBoolean()
readBoolean in class ValuesReaderpublic void skip()
ValuesReaderskip in class ValuesReaderCopyright © 2016 The Apache Software Foundation. All rights reserved.