public class DeltaByteArrayReader extends ValuesReader
DeltaByteArrayWriter| Constructor and Description |
|---|
DeltaByteArrayReader() |
| Modifier and Type | Method and Description |
|---|---|
void |
initFromPage(int valueCount,
byte[] page,
int offset)
Called to initialize the column reader from a part of a page.
|
Binary |
readBytes() |
void |
skip()
Skips the next value in the page
|
getNextOffset, readBoolean, readDouble, readFloat, readInteger, readLong, readValueDictionaryIdpublic void initFromPage(int valueCount,
byte[] page,
int offset)
throws IOException
ValuesReaderinitFromPage in class ValuesReadervalueCount - count of values in this pagepage - the array to read from containing the page data (repetition levels, definition levels, data)offset - where to start reading from in the pageIOExceptionpublic void skip()
ValuesReaderskip in class ValuesReaderpublic Binary readBytes()
readBytes in class ValuesReaderCopyright © 2015 The Apache Software Foundation. All rights reserved.