Package org.apache.flink.formats.parquet
Class ParquetVectorizedInputFormat.ParquetReaderBatch<T>
- java.lang.Object
-
- org.apache.flink.formats.parquet.ParquetVectorizedInputFormat.ParquetReaderBatch<T>
-
- Enclosing class:
- ParquetVectorizedInputFormat<T,SplitT extends FileSourceSplit>
protected abstract static class ParquetVectorizedInputFormat.ParquetReaderBatch<T> extends Object
Reader batch that provides writing and reading capabilities. ProvidesBulkFormat.RecordIterator
reading interface fromconvertAndGetIterator(long)
.
-
-
Field Summary
Fields Modifier and Type Field Description protected VectorizedColumnBatch
columnarBatch
-
Constructor Summary
Constructors Modifier Constructor Description protected
ParquetReaderBatch(WritableColumnVector[] writableVectors, VectorizedColumnBatch columnarBatch, Pool.Recycler<ParquetVectorizedInputFormat.ParquetReaderBatch<T>> recycler)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract BulkFormat.RecordIterator<T>
convertAndGetIterator(long rowsReturned)
Provides reading iterator after the records are written to thecolumnarBatch
.void
recycle()
-
-
-
Field Detail
-
columnarBatch
protected final VectorizedColumnBatch columnarBatch
-
-
Constructor Detail
-
ParquetReaderBatch
protected ParquetReaderBatch(WritableColumnVector[] writableVectors, VectorizedColumnBatch columnarBatch, Pool.Recycler<ParquetVectorizedInputFormat.ParquetReaderBatch<T>> recycler)
-
-
Method Detail
-
recycle
public void recycle()
-
convertAndGetIterator
public abstract BulkFormat.RecordIterator<T> convertAndGetIterator(long rowsReturned) throws IOException
Provides reading iterator after the records are written to thecolumnarBatch
.- Parameters:
rowsReturned
- The number of rows that have been returned before this batch.- Throws:
IOException
-
-