pub struct ExecutionPlanBuilder { /* private fields */ }
Expand description
Execution plan builder that tracks all steps
Implementations§
Source§impl ExecutionPlanBuilder
impl ExecutionPlanBuilder
pub fn new() -> Self
Sourcepub fn begin_step(&mut self, step_type: StepType, description: String)
pub fn begin_step(&mut self, step_type: StepType, description: String)
Start a new execution step
Sourcepub fn add_detail(&mut self, detail: String)
pub fn add_detail(&mut self, detail: String)
Add a detail to the current step
Sourcepub fn set_rows_in(&mut self, count: usize)
pub fn set_rows_in(&mut self, count: usize)
Set input row count for current step
Sourcepub fn set_rows_out(&mut self, count: usize)
pub fn set_rows_out(&mut self, count: usize)
Set output row count for current step
Sourcepub fn add_child_step(&mut self, child: ExecutionStep)
pub fn add_child_step(&mut self, child: ExecutionStep)
Add a child step to the current step
Sourcepub fn build(self) -> ExecutionPlan
pub fn build(self) -> ExecutionPlan
Build the final execution plan
Auto Trait Implementations§
impl Freeze for ExecutionPlanBuilder
impl RefUnwindSafe for ExecutionPlanBuilder
impl Send for ExecutionPlanBuilder
impl Sync for ExecutionPlanBuilder
impl Unpin for ExecutionPlanBuilder
impl UnwindSafe for ExecutionPlanBuilder
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more