pub(crate) struct ScanPlanBuilder {
frontier: RowGroupFrontier,
active_row_group: Option<NextRowGroup>,
columns: StageColumns,
}Expand description
Builds a ScanPlan from a decoder’s row-group frontier and the columns
each decoding stage reads.
Fields§
§frontier: RowGroupFrontier§active_row_group: Option<NextRowGroup>§columns: StageColumnsImplementations§
Source§impl ScanPlanBuilder
impl ScanPlanBuilder
Sourcepub(crate) fn new(
frontier: RowGroupFrontier,
batch_size: usize,
stages: Arc<StageSchedule>,
) -> Self
pub(crate) fn new( frontier: RowGroupFrontier, batch_size: usize, stages: Arc<StageSchedule>, ) -> Self
Plan the row groups in frontier, decoding in batches of
batch_size rows with the decoding stages stages.
Sourcepub(crate) fn with_active_row_group(
self,
active_row_group: Option<NextRowGroup>,
) -> Self
pub(crate) fn with_active_row_group( self, active_row_group: Option<NextRowGroup>, ) -> Self
Plan active_row_group first: the row group that the decoder is
fetching, which the frontier has already handed over.
pub(crate) fn build(self) -> ScanPlan ⓘ
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ScanPlanBuilder
impl !UnwindSafe for ScanPlanBuilder
impl Freeze for ScanPlanBuilder
impl Send for ScanPlanBuilder
impl Sync for ScanPlanBuilder
impl Unpin for ScanPlanBuilder
impl UnsafeUnpin for ScanPlanBuilder
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