public class DeltaByteArrayReader extends ValuesReader implements RequiresPreviousReader
DeltaByteArrayWriter| Constructor and Description |
|---|
DeltaByteArrayReader() |
| 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 |
setPreviousReader(ValuesReader reader)
There was a bug (PARQUET-246) in which DeltaByteArrayWriter's reset() method did not
clear the previous value state that it tracks internally.
|
void |
skip()
Skips the next value in the page
|
readBoolean, readDouble, readFloat, readInteger, readLong, readValueDictionaryIdpublic 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 void skip()
ValuesReaderskip in class ValuesReaderpublic Binary readBytes()
readBytes in class ValuesReaderpublic void setPreviousReader(ValuesReader reader)
setPreviousReader in interface RequiresPreviousReaderCopyright © 2019 The Apache Software Foundation. All rights reserved.