pub struct Literal {
pub value: ScalarValue,
}Fields§
§value: ScalarValueTrait Implementations§
Source§impl ExprTrait for Literal
impl ExprTrait for Literal
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
impl Eq for Literal
impl StructuralPartialEq for Literal
Auto Trait Implementations§
impl Freeze for Literal
impl RefUnwindSafe for Literal
impl Send for Literal
impl Sync for Literal
impl Unpin for Literal
impl UnsafeUnpin for Literal
impl UnwindSafe for Literal
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> 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.