pub struct InputSlots<'s, 'c> { /* private fields */ }Expand description
Positional reference observation borrows column identities, aliases and physical layouts. A joined view admits its borrowed-key index before construction; it does not produce a new row descriptor or copy type metadata.
Implementations§
Source§impl<'s, 'c> InputSlots<'s, 'c>
impl<'s, 'c> InputSlots<'s, 'c>
pub fn borrow(schema: &'s RowSchema, control: ProductionControl<'c>) -> Self
Sourcepub fn join(
left: &'s RowSchema,
right: &'s RowSchema,
control: ProductionControl<'c>,
) -> Result<Self, SQLError>
pub fn join( left: &'s RowSchema, right: &'s RowSchema, control: ProductionControl<'c>, ) -> Result<Self, SQLError>
Observe the same input namespace and slots as RowSchema::join(left, right, []), with no extra logical columns. Visible ambiguity is recomputed from the original identities; hidden aliases preserve right-input replacement and NULL-slot semantics.
pub fn physical_width(&self) -> usize
Sourcepub fn visit_reference(
&self,
expression: &ScalarExpr,
visitor: &mut impl FnMut(usize) -> Result<(), SQLError>,
) -> Result<(), SQLError>
pub fn visit_reference( &self, expression: &ScalarExpr, visitor: &mut impl FnMut(usize) -> Result<(), SQLError>, ) -> Result<(), SQLError>
Visit the physical inputs of one lexical reference. Wildcard aliases may repeat slots; the consuming demand owner deduplicates them. This observes names only and never evaluates SQL.
Auto Trait Implementations§
impl<'s, 'c> Freeze for InputSlots<'s, 'c>
impl<'s, 'c> RefUnwindSafe for InputSlots<'s, 'c>
impl<'s, 'c> Send for InputSlots<'s, 'c>
impl<'s, 'c> Sync for InputSlots<'s, 'c>
impl<'s, 'c> Unpin for InputSlots<'s, 'c>
impl<'s, 'c> UnsafeUnpin for InputSlots<'s, 'c>
impl<'s, 'c> UnwindSafe for InputSlots<'s, 'c>
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