pub struct SelectSourceCoverage<'a> { /* private fields */ }Expand description
Borrows only syntax visited by a successful complete check. The consumer must independently preserve the immutable catalog, namespace, CTE definitions, outer lineage and complete authorization subject. Structural coverage alone never authorizes a changed execution scope.
Implementations§
Source§impl SelectSourceCoverage<'_>
impl SelectSourceCoverage<'_>
pub fn matches_source(&self, source: &SourcePlan) -> bool
Sourcepub fn covers_query(&self, block: &QueryBlockPlan, source: &SourcePlan) -> bool
pub fn covers_query(&self, block: &QueryBlockPlan, source: &SourcePlan) -> bool
A changed projection must be checked even when it uses the same source.
pub fn join_child(&self, right: bool) -> Option<Self>
Sourcepub fn query_source(&self, block: &QueryBlockPlan) -> Option<Self>
pub fn query_source(&self, block: &QueryBlockPlan) -> Option<Self>
Project coverage onto an original direct derived block. CTE and set-operation execution keep their independent checks.
Trait Implementations§
Source§impl<'a> Clone for SelectSourceCoverage<'a>
impl<'a> Clone for SelectSourceCoverage<'a>
impl<'a> Copy for SelectSourceCoverage<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for SelectSourceCoverage<'a>
impl<'a> !UnwindSafe for SelectSourceCoverage<'a>
impl<'a> Freeze for SelectSourceCoverage<'a>
impl<'a> Send for SelectSourceCoverage<'a>
impl<'a> Sync for SelectSourceCoverage<'a>
impl<'a> Unpin for SelectSourceCoverage<'a>
impl<'a> UnsafeUnpin for SelectSourceCoverage<'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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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