public class ByteBitPackingValuesReader extends ValuesReader
Constructor and Description |
---|
ByteBitPackingValuesReader(int bound,
Packer packer) |
Modifier and Type | Method and Description |
---|---|
int |
getNextOffset()
Called to return offset of the next section
|
void |
initFromPage(int valueCount,
byte[] page,
int offset)
Called to initialize the column reader from a part of a page.
|
int |
readInteger() |
void |
skip()
Skips the next value in the page
|
readBoolean, readBytes, readDouble, readFloat, readLong, readValueDictionaryId
public ByteBitPackingValuesReader(int bound, Packer packer)
public int readInteger()
readInteger
in class ValuesReader
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 int getNextOffset()
ValuesReader
getNextOffset
in class ValuesReader
public void skip()
ValuesReader
skip
in class ValuesReader
Copyright © 2015. All rights reserved.