pub enum ColumnTarget {
Relation(ColumnWrite),
QueryOutput {
name: Option<Ident>,
position: usize,
},
}Expand description
The target endpoint of a ColumnLineageEdge — a column in a named
relation (Relation) or a transient SELECT output
(QueryOutput).
Variants§
Relation(ColumnWrite)
A column in a real relation receiving the inbound lineage edge — INSERT /
UPDATE / MERGE target columns, or columns of the new relation
produced by CTAS / CREATE VIEW / ALTER VIEW. Carries the column’s
catalog ResolutionKind (via ColumnWrite),
the write-side counterpart of ColumnLineageEdge::source’s
ColumnRead.
QueryOutput
A transient column produced by a top-level SELECT projection
that is not piped into a named relation. name follows
the projection’s explicit alias or inferred single-column name
(None for expressions without a clear name); position is
always set so anonymous outputs remain identifiable.
Trait Implementations§
Source§impl Clone for ColumnTarget
impl Clone for ColumnTarget
Source§fn clone(&self) -> ColumnTarget
fn clone(&self) -> ColumnTarget
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ColumnTarget
impl Debug for ColumnTarget
impl Eq for ColumnTarget
Source§impl Hash for ColumnTarget
impl Hash for ColumnTarget
Source§impl PartialEq for ColumnTarget
impl PartialEq for ColumnTarget
Source§fn eq(&self, other: &ColumnTarget) -> bool
fn eq(&self, other: &ColumnTarget) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ColumnTarget
Auto Trait Implementations§
impl Freeze for ColumnTarget
impl RefUnwindSafe for ColumnTarget
impl Send for ColumnTarget
impl Sync for ColumnTarget
impl Unpin for ColumnTarget
impl UnsafeUnpin for ColumnTarget
impl UnwindSafe for ColumnTarget
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