public class BooleanPlainValuesReader extends ValuesReader
| Constructor and Description |
|---|
BooleanPlainValuesReader() |
| Modifier and Type | Method and Description |
|---|---|
int |
getNextOffset()
Called to return offset of the next section
|
void |
initFromPage(int valueCount,
ByteBuffer in,
int offset)
Called to initialize the column reader from a part of a page.
|
boolean |
readBoolean() |
void |
skip()
Skips the next value in the page
|
initFromPage, readBytes, readDouble, readFloat, readInteger, readLong, readValueDictionaryIdpublic boolean readBoolean()
readBoolean in class ValuesReaderValuesReader.readBoolean()public void skip()
skip in class ValuesReaderValuesReader.skip()public void initFromPage(int valueCount,
ByteBuffer 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(int valueCount, ByteBuffer page, int offset)public int getNextOffset()
ValuesReadergetNextOffset in class ValuesReaderCopyright © 2016 The Apache Software Foundation. All rights reserved.