pub struct InheritedStatementAnalysisScopes<'a> {
pub current: &'a dyn StatementAnalysisScopes,
pub parent: &'a dyn StatementBindingScope,
}Expand description
A nested command retains its enclosing CTE bindings while the session supplies fresh statement metadata and admission.
Fields§
§current: &'a dyn StatementAnalysisScopes§parent: &'a dyn StatementBindingScopeTrait Implementations§
Source§impl StatementAnalysisScopes for InheritedStatementAnalysisScopes<'_>
impl StatementAnalysisScopes for InheritedStatementAnalysisScopes<'_>
Source§fn planning_control(&self) -> Result<OwnedProductionControl, SQLError>
fn planning_control(&self) -> Result<OwnedProductionControl, SQLError>
Request ownership precedes analysis; optimizer catalog callbacks remain after successful analysis.
Source§fn with_controlled_scope(
&self,
control: &ProductionControl<'_>,
analyze: ControlledStatementAnalysisOperation<'_>,
) -> Result<(), SQLError>
fn with_controlled_scope( &self, control: &ProductionControl<'_>, analyze: ControlledStatementAnalysisOperation<'_>, ) -> Result<(), SQLError>
Native scopes construct their retained inputs under the caller’s control; external factories preserve their scope callback.
fn with_scope( &self, analyze: StatementAnalysisOperation<'_>, ) -> Result<(), SQLError>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for InheritedStatementAnalysisScopes<'a>
impl<'a> !Send for InheritedStatementAnalysisScopes<'a>
impl<'a> !Sync for InheritedStatementAnalysisScopes<'a>
impl<'a> !UnwindSafe for InheritedStatementAnalysisScopes<'a>
impl<'a> Freeze for InheritedStatementAnalysisScopes<'a>
impl<'a> Unpin for InheritedStatementAnalysisScopes<'a>
impl<'a> UnsafeUnpin for InheritedStatementAnalysisScopes<'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