enum QueuedRowGroups {
Global {
row_groups: VecDeque<usize>,
selection: Option<RowSelection>,
},
PerRowGroup(VecDeque<RowGroupSelection>),
}Expand description
Row groups and selections that have not yet been handed to the row-group reader builder.
Variants§
Global
One selection cursor spans all queued row groups.
PerRowGroup(VecDeque<RowGroupSelection>)
Selections are already relative to their respective row groups.
Implementations§
Source§impl QueuedRowGroups
impl QueuedRowGroups
Sourcefn try_new(
parquet_metadata: &ParquetMetaData,
row_group_plan: RowGroupPlan,
) -> Result<Self, ParquetError>
fn try_new( parquet_metadata: &ParquetMetaData, row_group_plan: RowGroupPlan, ) -> Result<Self, ParquetError>
Validate and queue a row-group plan for parquet_metadata.
Sourcefn into_plan(self) -> RowGroupPlan
fn into_plan(self) -> RowGroupPlan
Convert the remaining queue back into a builder configuration.
fn front(&self) -> Option<usize>
fn len(&self) -> usize
fn clear(&mut self)
Sourcefn global_selection_is_exhausted(&self) -> bool
fn global_selection_is_exhausted(&self) -> bool
Returns true when a shared global selection has no selected rows left.
Per-row-group selections are independent and are drained one at a time.
Sourcefn pop_front_selection(&mut self, row_count: usize) -> Option<RowSelection>
fn pop_front_selection(&mut self, row_count: usize) -> Option<RowSelection>
Remove the front row group and return its local selection.
Trait Implementations§
Source§impl Clone for QueuedRowGroups
impl Clone for QueuedRowGroups
Source§fn clone(&self) -> QueuedRowGroups
fn clone(&self) -> QueuedRowGroups
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for QueuedRowGroups
impl RefUnwindSafe for QueuedRowGroups
impl Send for QueuedRowGroups
impl Sync for QueuedRowGroups
impl Unpin for QueuedRowGroups
impl UnsafeUnpin for QueuedRowGroups
impl UnwindSafe for QueuedRowGroups
Blanket Implementations§
impl<T> Allocation for T
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