public abstract class ValuesReader extends Object
Constructor and Description |
---|
ValuesReader() |
Modifier and Type | Method and Description |
---|---|
int |
getNextOffset()
Called to return offset of the next section
|
abstract void |
initFromPage(int valueCount,
byte[] page,
int offset)
Called to initialize the column reader from a part of a page.
|
boolean |
readBoolean() |
Binary |
readBytes() |
double |
readDouble() |
float |
readFloat() |
int |
readInteger() |
long |
readLong() |
int |
readValueDictionaryId()
usable when the encoding is dictionary based
|
abstract void |
skip()
Skips the next value in the page
|
public abstract void initFromPage(int valueCount, byte[] page, int offset) throws IOException
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()
public int readValueDictionaryId()
public boolean readBoolean()
public Binary readBytes()
public float readFloat()
public double readDouble()
public int readInteger()
public long readLong()
public abstract void skip()
Copyright © 2015. All rights reserved.