public class ValuesAsBytesReader
extends org.apache.parquet.column.values.ValuesReader
ValuesReader specifically to read given number of bytes from the underlying ByteBufferInputStream.| Constructor and Description | 
|---|
ValuesAsBytesReader()  | 
| Modifier and Type | Method and Description | 
|---|---|
java.nio.ByteBuffer | 
getBuffer(int length)  | 
void | 
initFromPage(int valueCount,
            org.apache.parquet.bytes.ByteBufferInputStream in)  | 
boolean | 
readBoolean()  | 
int | 
readBooleanAsInt()
Returns 1 if true, 0 otherwise. 
 | 
double | 
readDouble()  | 
float | 
readFloat()  | 
int | 
readInteger()  | 
long | 
readLong()  | 
void | 
skip()  | 
public void initFromPage(int valueCount,
                         org.apache.parquet.bytes.ByteBufferInputStream in)
initFromPage in class org.apache.parquet.column.values.ValuesReaderpublic void skip()
skip in class org.apache.parquet.column.values.ValuesReaderpublic java.nio.ByteBuffer getBuffer(int length)
public final int readInteger()
readInteger in class org.apache.parquet.column.values.ValuesReaderpublic final long readLong()
readLong in class org.apache.parquet.column.values.ValuesReaderpublic final float readFloat()
readFloat in class org.apache.parquet.column.values.ValuesReaderpublic final double readDouble()
readDouble in class org.apache.parquet.column.values.ValuesReaderpublic final boolean readBoolean()
readBoolean in class org.apache.parquet.column.values.ValuesReaderpublic final int readBooleanAsInt()