parquet::arrow::arrow_reader

Trait RowGroups

Source
pub trait RowGroups {
    // Required methods
    fn num_rows(&self) -> usize;
    fn column_chunks(&self, i: usize) -> Result<Box<dyn PageIterator>>;
}
Expand description

A collection of row groups

Required Methods§

Source

fn num_rows(&self) -> usize

Get the number of rows in this collection

Source

fn column_chunks(&self, i: usize) -> Result<Box<dyn PageIterator>>

Returns a PageIterator for the column chunks with the given leaf column index

Implementations on Foreign Types§

Source§

impl RowGroups for Arc<dyn FileReader>

Source§

fn num_rows(&self) -> usize

Source§

fn column_chunks(&self, column_index: usize) -> Result<Box<dyn PageIterator>>

Implementors§