Class VarLenBinaryReader
java.lang.Object
org.apache.drill.exec.store.parquet.columnreaders.VarLenBinaryReader
Class which handles reading a batch of rows from a set of variable columns
-
Constructor Summary
ConstructorDescriptionVarLenBinaryReader
(ParquetRecordReader parentReader, List<VarLengthColumn<? extends ValueVector>> columns) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
handleAndRaise
(String s, Exception e) long
readFields
(long recordsToReadInThisPass) Reads as many variable length values as possible.
-
Constructor Details
-
VarLenBinaryReader
public VarLenBinaryReader(ParquetRecordReader parentReader, List<VarLengthColumn<? extends ValueVector>> columns)
-
-
Method Details
-
readFields
Reads as many variable length values as possible.- Parameters:
recordsToReadInThisPass
- - the number of records recommended for reading form the reader- Returns:
- - the number of fixed length fields that will fit in the batch
- Throws:
IOException
-
handleAndRaise
-