pub struct ExecutionSourceBindings<'a> { /* private fields */ }Expand description
Metadata from one successful execution-source binding. The owner must keep the catalog, CTE definitions, routines and parameters unchanged while constructing the corresponding physical source. This is not a prepared-plan cache or pre-optimization annotation.
Implementations§
Source§impl ExecutionSourceBindings<'_>
impl ExecutionSourceBindings<'_>
Sourcepub fn matches_source(&self, source: &SourcePlan) -> bool
pub fn matches_source(&self, source: &SourcePlan) -> bool
A rewritten or copied source must obtain its own binding.
pub fn join_child(&self, right: bool) -> Option<Arc<Self>>
Sourcepub fn query_source(
&self,
block: &QueryBlockPlan,
outer: Option<&RowSchema>,
defer_distinct_limit: bool,
) -> Option<(RowSchema, Option<Arc<Self>>)>
pub fn query_source( &self, block: &QueryBlockPlan, outer: Option<&RowSchema>, defer_distinct_limit: bool, ) -> Option<(RowSchema, Option<Arc<Self>>)>
Transfer a derived block’s raw source schema only under its complete original enclosing descriptor. Identity checks borrow live syntax; no address is retained beyond that syntax’s lifetime.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ExecutionSourceBindings<'a>
impl<'a> !UnwindSafe for ExecutionSourceBindings<'a>
impl<'a> Freeze for ExecutionSourceBindings<'a>
impl<'a> Send for ExecutionSourceBindings<'a>
impl<'a> Sync for ExecutionSourceBindings<'a>
impl<'a> Unpin for ExecutionSourceBindings<'a>
impl<'a> UnsafeUnpin for ExecutionSourceBindings<'a>
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