mito2::sst::parquet::reader

Trait RowGroupReaderContext

Source
pub(crate) trait RowGroupReaderContext: Send {
    // Required methods
    fn map_result(
        &self,
        result: Result<Option<RecordBatch>, ArrowError>,
    ) -> Result<Option<RecordBatch>>;
    fn read_format(&self) -> &ReadFormat;
}
Expand description

RowGroupReaderContext represents the fields that cannot be shared between different RowGroupReaders.

Required Methods§

Source

fn map_result( &self, result: Result<Option<RecordBatch>, ArrowError>, ) -> Result<Option<RecordBatch>>

Source

fn read_format(&self) -> &ReadFormat

Implementations on Foreign Types§

Source§

impl RowGroupReaderContext for Arc<BulkIterContext>

Source§

fn map_result( &self, result: Result<Option<RecordBatch>, ArrowError>, ) -> Result<Option<RecordBatch>>

Source§

fn read_format(&self) -> &ReadFormat

Source§

impl RowGroupReaderContext for Arc<FileRangeContext>

Source§

fn map_result( &self, result: Result<Option<RecordBatch>, ArrowError>, ) -> Result<Option<RecordBatch>>

Source§

fn read_format(&self) -> &ReadFormat

Implementors§