pub struct PlanExecutor<'d, D: OperatorTreeDriver> {
pub driver: &'d D,
/* private fields */
}Expand description
Executor wrapper for OperatorTree.
Fields§
§driver: &'d DImplementations§
Source§impl<'d, D: OperatorTreeDriver> PlanExecutor<'d, D>
impl<'d, D: OperatorTreeDriver> PlanExecutor<'d, D>
pub fn new(driver: &'d D) -> Self
Sourcepub fn execute(&mut self, op: &OperatorTree) -> Result<OperatorOutput, D::Error>
pub fn execute(&mut self, op: &OperatorTree) -> Result<OperatorOutput, D::Error>
Execute op and capture stats. Driver failures are returned to
the caller instead of being indistinguishable from an empty
physical result.
pub fn last_stats(&self) -> Option<&ExecutionStats>
pub fn explain(&self, op: &OperatorTree) -> String
Auto Trait Implementations§
impl<'d, D> Freeze for PlanExecutor<'d, D>
impl<'d, D> RefUnwindSafe for PlanExecutor<'d, D>where
&'d D: RefUnwindSafe,
impl<'d, D> Send for PlanExecutor<'d, D>
impl<'d, D> Sync for PlanExecutor<'d, D>
impl<'d, D> Unpin for PlanExecutor<'d, D>
impl<'d, D> UnsafeUnpin for PlanExecutor<'d, D>where
&'d D: UnsafeUnpin,
impl<'d, D> UnwindSafe for PlanExecutor<'d, D>where
&'d D: UnwindSafe,
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
impl<T> ErasedDestructor for Twhere
T: 'static,
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