public class DeltaLengthByteArrayValuesReader extends ValuesReader
DeltaLengthByteArrayValuesWriter| Constructor and Description |
|---|
DeltaLengthByteArrayValuesReader() |
| Modifier and Type | Method and Description |
|---|---|
void |
initFromPage(int valueCount,
ByteBufferInputStream stream)
Called to initialize the column reader from a part of a page.
|
Binary |
readBytes() |
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, readDouble, readFloat, readInteger, readLong, readValueDictionaryId, updateNextOffsetpublic void initFromPage(int valueCount,
ByteBufferInputStream stream)
throws IOException
ValuesReaderinitFromPage 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 streampublic Binary readBytes()
readBytes in class ValuesReaderpublic void skip()
ValuesReaderskip in class ValuesReaderpublic void skip(int n)
ValuesReaderskip in class ValuesReadern - the number of values to be skippedCopyright © 2020 The Apache Software Foundation. All rights reserved.