protected abstract static class ParquetVectorizedInputFormat.ParquetReaderBatch<T> extends Object
RecordIterator
reading interface from convertAndGetIterator(long)
.Modifier and Type | Field and Description |
---|---|
protected VectorizedColumnBatch |
columnarBatch |
Modifier | Constructor and Description |
---|---|
protected |
ParquetReaderBatch(WritableColumnVector[] writableVectors,
VectorizedColumnBatch columnarBatch,
Pool.Recycler<ParquetVectorizedInputFormat.ParquetReaderBatch<T>> recycler) |
Modifier and Type | Method and Description |
---|---|
abstract BulkFormat.RecordIterator<T> |
convertAndGetIterator(long rowsReturned)
Provides reading iterator after the records are written to the
columnarBatch . |
void |
recycle() |
protected final VectorizedColumnBatch columnarBatch
protected ParquetReaderBatch(WritableColumnVector[] writableVectors, VectorizedColumnBatch columnarBatch, Pool.Recycler<ParquetVectorizedInputFormat.ParquetReaderBatch<T>> recycler)
public void recycle()
public abstract BulkFormat.RecordIterator<T> convertAndGetIterator(long rowsReturned) throws IOException
columnarBatch
.rowsReturned
- The number of rows that have been returned before this batch.IOException
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.