struct Planner {
frontier: RowGroupFrontier,
active_row_group: Option<NextRowGroup>,
columns: Arc<StageColumns>,
next_row: u64,
current: Option<RowGroupRanges>,
done: bool,
}Expand description
The state of a ScanPlan that is not empty.
Fields§
§frontier: RowGroupFrontierThe decoder’s row-group queue, selections and offset/limit budget, as they were when the plan was made.
active_row_group: Option<NextRowGroup>The row group that the decoder was fetching when the plan was made. It is planned first.
columns: Arc<StageColumns>The decoder’s projection, predicates and batch size.
next_row: u64Planned rows before the next row group.
current: Option<RowGroupRanges>The row group being planned, if any.
done: boolWhether planning has ended.
Implementations§
Source§impl Planner
impl Planner
Sourcefn plan_next_row_group(&mut self) -> Result<bool, ParquetError>
fn plan_next_row_group(&mut self) -> Result<bool, ParquetError>
Start planning the next row group the decoder will read.
Returns Ok(false) when no row group remains. A row group that the
offset/limit budget removes is planned with no ranges.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Planner
impl !UnwindSafe for Planner
impl Freeze for Planner
impl Send for Planner
impl Sync for Planner
impl Unpin for Planner
impl UnsafeUnpin for Planner
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