pub struct SerializableRelationRead { /* private fields */ }Expand description
A physical reader retains its original participant, immutable relation identity and shared allowance. It can neither admit another participant nor finish its transaction.
Implementations§
Source§impl SerializableRelationRead
impl SerializableRelationRead
Sourcepub fn observe_column_index(
&self,
columns: &[ColumnDef],
field: &ValueIndexKey,
predicate: &Predicate,
) -> Result<(), SQLError>
pub fn observe_column_index( &self, columns: &[ColumnDef], field: &ValueIndexKey, predicate: &Predicate, ) -> Result<(), SQLError>
Register after the executing column access path selects its predicate and before exposing a result. Catalog estimates, hydration and constraint probes do not call this boundary.
Source§impl SerializableRelationRead
impl SerializableRelationRead
pub fn new( object: [u8; 16], context: SerializableReadContext, cancellation: &CancellationToken, ) -> Self
Sourcepub fn for_mutation(
writes: &dyn SerializableWrites,
table: &str,
) -> Result<Option<Self>, SQLError>
pub fn for_mutation( writes: &dyn SerializableWrites, table: &str, ) -> Result<Option<Self>, SQLError>
Retain the original mutation participant before reading its selected target, including an absent unique-key match.
Sourcepub fn observe_scan(&self) -> Result<(), SQLError>
pub fn observe_scan(&self) -> Result<(), SQLError>
A sequential access path observes the relation before reading even an empty result. Index access paths must supply their own precise logical ranges instead.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for SerializableRelationRead
impl !UnwindSafe for SerializableRelationRead
impl Freeze for SerializableRelationRead
impl Send for SerializableRelationRead
impl Sync for SerializableRelationRead
impl Unpin for SerializableRelationRead
impl UnsafeUnpin for SerializableRelationRead
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