pub enum ColumnQualifier {
Input {
index: usize,
},
Node {
id: String,
},
Relation {
name: String,
},
}Expand description
Namespace used to disambiguate column references.
The formatted qualifier is part of expression diagnostics and plan display.
It is not necessarily the field name exposed by downstream schemas; use
ColumnRef::display_name for that.
Only Self::Input takes part in resolution: join validation, capability
analysis and the optimizer match Input { index: 0 | 1 } to a join side and
treat an unqualified reference as single-input. Node and Relation are
carried for display and are matched nowhere in this crate.
Variants§
Input
Positional input namespace, formatted as input{index}.
Node
Query-plan node namespace.
Relation
Named relation namespace.
Trait Implementations§
Source§impl Clone for ColumnQualifier
impl Clone for ColumnQualifier
Source§impl Debug for ColumnQualifier
impl Debug for ColumnQualifier
Source§impl Display for ColumnQualifier
impl Display for ColumnQualifier
impl Eq for ColumnQualifier
Source§impl Hash for ColumnQualifier
impl Hash for ColumnQualifier
Source§impl Ord for ColumnQualifier
impl Ord for ColumnQualifier
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ColumnQualifier
impl PartialEq for ColumnQualifier
Source§impl PartialOrd for ColumnQualifier
impl PartialOrd for ColumnQualifier
impl StructuralPartialEq for ColumnQualifier
Auto Trait Implementations§
impl Freeze for ColumnQualifier
impl RefUnwindSafe for ColumnQualifier
impl Send for ColumnQualifier
impl Sync for ColumnQualifier
impl Unpin for ColumnQualifier
impl UnsafeUnpin for ColumnQualifier
impl UnwindSafe for ColumnQualifier
Blanket Implementations§
impl<T> Allocation for T
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