public abstract class ByteStreamSplitValuesReader extends ValuesReader
| Modifier | Constructor and Description |
|---|---|
protected |
ByteStreamSplitValuesReader(int elementSizeInBytes) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
gatherElementDataFromStreams(byte[] gatheredData) |
void |
initFromPage(int valuesCount,
ByteBufferInputStream stream)
Called to initialize the column reader from a part of a page.
|
void |
skip()
Skips the next value in the page
|
void |
skip(int n)
Skips the next n values in the page
|
getNextOffset, initFromPage, initFromPage, readBoolean, readBytes, readDouble, readFloat, readInteger, readLong, readValueDictionaryId, updateNextOffsetprotected ByteStreamSplitValuesReader(int elementSizeInBytes)
protected void gatherElementDataFromStreams(byte[] gatheredData)
throws ParquetDecodingException
ParquetDecodingExceptionpublic void initFromPage(int valuesCount,
ByteBufferInputStream stream)
throws ParquetDecodingException,
IOException
ValuesReaderinitFromPage in class ValuesReadervaluesCount - 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 streamParquetDecodingExceptionpublic void skip()
ValuesReaderskip in class ValuesReaderpublic void skip(int n)
ValuesReaderskip in class ValuesReadern - the number of values to be skippedCopyright © 2021 The Apache Software Foundation. All rights reserved.