pub struct ColumnExpr {
pub relation: Option<TableReference>,
pub name: String,
}Expand description
A named reference to a qualified field in a schema.
Fields§
§relation: Option<TableReference>relation/table reference.
name: Stringfield/column name.
Trait Implementations§
Source§impl Clone for ColumnExpr
impl Clone for ColumnExpr
Source§fn clone(&self) -> ColumnExpr
fn clone(&self) -> ColumnExpr
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 ColumnExpr
impl Debug for ColumnExpr
Source§impl Display for ColumnExpr
impl Display for ColumnExpr
Source§impl ExprTrait for ColumnExpr
impl ExprTrait for ColumnExpr
Source§fn data_type(&self, input_schema: &Schema) -> QuillSQLResult<DataType>
fn data_type(&self, input_schema: &Schema) -> QuillSQLResult<DataType>
Get the data type of this expression, given the schema of the input
Source§fn nullable(&self, input_schema: &Schema) -> QuillSQLResult<bool>
fn nullable(&self, input_schema: &Schema) -> QuillSQLResult<bool>
Determine whether this expression is nullable, given the schema of the input
Source§fn evaluate(&self, tuple: &Tuple) -> QuillSQLResult<ScalarValue>
fn evaluate(&self, tuple: &Tuple) -> QuillSQLResult<ScalarValue>
Evaluate an expression against a Tuple
Source§impl Hash for ColumnExpr
impl Hash for ColumnExpr
Source§impl Ord for ColumnExpr
impl Ord for ColumnExpr
Source§fn cmp(&self, other: &ColumnExpr) -> Ordering
fn cmp(&self, other: &ColumnExpr) -> Ordering
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
Source§impl PartialEq for ColumnExpr
impl PartialEq for ColumnExpr
Source§fn eq(&self, other: &ColumnExpr) -> bool
fn eq(&self, other: &ColumnExpr) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ColumnExpr
impl PartialOrd for ColumnExpr
impl Eq for ColumnExpr
impl StructuralPartialEq for ColumnExpr
Auto Trait Implementations§
impl Freeze for ColumnExpr
impl RefUnwindSafe for ColumnExpr
impl Send for ColumnExpr
impl Sync for ColumnExpr
impl Unpin for ColumnExpr
impl UnsafeUnpin for ColumnExpr
impl UnwindSafe for ColumnExpr
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,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.