pub struct SqlViewUseFact {Show 13 fields
pub relation: String,
pub whole_row_on_id: bool,
pub correlated_bare_id: bool,
pub column_aliases: Vec<String>,
pub unqualified_columns: Vec<String>,
pub unresolved_column_ownership: bool,
pub qualified_embedding: bool,
pub row_arguments: Vec<SqlBareViewRowRead>,
pub bare_row_reads: Vec<SqlBareViewRowRead>,
pub correlated_columns: Vec<SqlBareViewRowRead>,
pub natural_join_peers: Vec<SqlNaturalJoinPeers>,
pub line: usize,
pub column: usize,
}Expand description
A relation read from a join or a scalar subquery, before catalog classification.
Fields§
§relation: StringCanonical relation identity.
whole_row_on_id: boolWhole-row embedding is the only use of the view and the lookup uses its ID.
The only key is a bare ID with a possible outer column of that name.
column_aliases: Vec<String>Positional aliases applied to the relation columns at this reference.
unqualified_columns: Vec<String>Unqualified columns whose binding needs catalog evidence.
unresolved_column_ownership: boolA join output aliases a read column at an unknown source position.
qualified_embedding: boolAn explicit qualified row argument proves an embedding.
row_arguments: Vec<SqlBareViewRowRead>Bare JSON arguments whose column ownership must be resolved.
bare_row_reads: Vec<SqlBareViewRowRead>Additional bare references that can resolve to a sibling column instead of the view row.
Column references that can bind to this view in an enclosing query.
natural_join_peers: Vec<SqlNaturalJoinPeers>Output columns on the other side of an implicit NATURAL join.
line: usizeOne-based source line.
column: usizeOne-based SQL column.
Trait Implementations§
Source§impl Clone for SqlViewUseFact
impl Clone for SqlViewUseFact
Source§impl Debug for SqlViewUseFact
impl Debug for SqlViewUseFact
impl Eq for SqlViewUseFact
Source§impl PartialEq for SqlViewUseFact
impl PartialEq for SqlViewUseFact
impl StructuralPartialEq for SqlViewUseFact
Auto Trait Implementations§
impl Forget for SqlViewUseFact
impl Freeze for SqlViewUseFactwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<SqlBareViewRowRead>: Freeze,
PhantomData<SqlNaturalJoinPeers>: Freeze,
impl Move for SqlViewUseFact
impl RefUnwindSafe for SqlViewUseFact
impl Send for SqlViewUseFactwhere
RawVecInner: Send,
impl Sync for SqlViewUseFactwhere
RawVecInner: Sync,
impl Unpin for SqlViewUseFact
impl UnsafeUnpin for SqlViewUseFactwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<SqlBareViewRowRead>: UnsafeUnpin,
PhantomData<SqlNaturalJoinPeers>: UnsafeUnpin,
impl UnwindSafe for SqlViewUseFactwhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> ⓘ
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> ⓘ
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