pub struct LockRowsRecheckSource<S: Clone> {
pub statement: QueryBlockPlan,
pub ctes: CteScope<S>,
pub ordered: bool,
pub projections: Vec<PhysicalProjection>,
}Expand description
Everything needed to rebuild the plan below this LockRows boundary for a tuple-local recheck. The statement is the query block as it existed before order-set rewrites; the rebuild replays the same construction the original pipeline used, so the recheck output matches the boundary schema.
Fields§
§statement: QueryBlockPlan§ctes: CteScope<S>§ordered: bool§projections: Vec<PhysicalProjection>Implementations§
Source§impl<S: Clone> LockRowsRecheckSource<S>
impl<S: Clone> LockRowsRecheckSource<S>
pub fn new( statement: &QueryBlockPlan, ctes: &CteScope<S>, ordered: bool, ) -> Self
pub fn with_projections( statement: &QueryBlockPlan, ctes: &CteScope<S>, ordered: bool, projections: Vec<PhysicalProjection>, ) -> Self
Auto Trait Implementations§
impl<S> !RefUnwindSafe for LockRowsRecheckSource<S>
impl<S> !UnwindSafe for LockRowsRecheckSource<S>
impl<S> Freeze for LockRowsRecheckSource<S>
impl<S> Send for LockRowsRecheckSource<S>
impl<S> Sync for LockRowsRecheckSource<S>
impl<S> Unpin for LockRowsRecheckSource<S>
impl<S> UnsafeUnpin for LockRowsRecheckSource<S>where
CteScope<S>: UnsafeUnpin,
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