public class BooleanPlainValuesReader extends ValuesReader
| Constructor and Description |
|---|
BooleanPlainValuesReader() |
| Modifier and Type | Method and Description |
|---|---|
int |
getNextOffset()
Deprecated.
|
void |
initFromPage(int valueCount,
ByteBufferInputStream stream)
Called to initialize the column reader from a part of a page.
|
boolean |
readBoolean() |
void |
skip()
Skips the next value in the page
|
initFromPage, initFromPage, readBytes, readDouble, readFloat, readInteger, readLong, readValueDictionaryId, skip, updateNextOffsetpublic boolean readBoolean()
readBoolean in class ValuesReaderValuesReader.readBoolean()public void skip()
skip in class ValuesReaderValuesReader.skip()public void initFromPage(int valueCount,
ByteBufferInputStream stream)
throws IOException
Implementations must consume all bytes from the input stream, leaving the stream ready to read the next section of data. The underlying implementation knows how much data to read, so a length is not provided.
Each page may contain several sections:
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)@Deprecated public int getNextOffset()
ValuesReadergetNextOffset in class ValuesReaderCopyright © 2024 The Apache Software Foundation. All rights reserved.