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, readValueDictionaryId
public void initFromPage(int valueCount, byte[] page, int offset) throws IOException
ValuesReader
initFromPage
in class ValuesReader
valueCount
- 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 pageIOException
public void skip()
ValuesReader
skip
in class ValuesReader
public Binary readBytes()
readBytes
in class ValuesReader
Copyright © 2015. All rights reserved.