Struct parquet2::read::ColumnIterator
source · pub struct ColumnIterator<R: Read + Seek> { /* private fields */ }
Expand description
A MutStreamingIterator
that reads column chunks one by one,
returning a PageReader
per column.
Implementations§
source§impl<R: Read + Seek> ColumnIterator<R>
impl<R: Read + Seek> ColumnIterator<R>
sourcepub fn new(
reader: R,
columns: Vec<ColumnChunkMetaData>,
page_filter: Option<PageFilter>,
scratch: Vec<u8>,
max_page_size: usize
) -> Self
pub fn new( reader: R, columns: Vec<ColumnChunkMetaData>, page_filter: Option<PageFilter>, scratch: Vec<u8>, max_page_size: usize ) -> Self
Returns a new ColumnIterator
max_page_size
is the maximum allowed page size
Trait Implementations§
Auto Trait Implementations§
impl<R> Freeze for ColumnIterator<R>where
R: Freeze,
impl<R> !RefUnwindSafe for ColumnIterator<R>
impl<R> Send for ColumnIterator<R>where
R: Send,
impl<R> Sync for ColumnIterator<R>where
R: Sync,
impl<R> Unpin for ColumnIterator<R>where
R: Unpin,
impl<R> !UnwindSafe for ColumnIterator<R>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more