type ReadResult<T> = Result<(ReaderFactory<T>, Option<ParquetRecordBatchReader>)>;
Expand description
Returns a ReaderFactory
and an optional ParquetRecordBatchReader
for the next row group
Note: If all rows are filtered out in the row group (e.g by filters, limit or
offset), returns None
for the reader.
Aliased Type§
enum ReadResult<T> {
Ok((ReaderFactory<T>, Option<ParquetRecordBatchReader>)),
Err(ParquetError),
}
Variants§
Ok((ReaderFactory<T>, Option<ParquetRecordBatchReader>))
Contains the success value
Err(ParquetError)
Contains the error value