pub enum SelectItemSource {
BaseColumn(usize),
WindowFunction(String),
Expression(Expression),
ExpressionWithWindow(Expression, Vec<String>),
}Expand description
Source of a SELECT item value
Variants§
BaseColumn(usize)
WindowFunction(String)
Window function name - stored in lowercase for O(1) lookup in window_value_map
Expression(Expression)
ExpressionWithWindow(Expression, Vec<String>)
Expression containing one or more window functions. Stores (expression, list_of_window_function_names_lowercase). Each Window node in the expression is replaced with a placeholder identifier referencing the corresponding name at the same index.
Auto Trait Implementations§
impl Freeze for SelectItemSource
impl RefUnwindSafe for SelectItemSource
impl Send for SelectItemSource
impl Sync for SelectItemSource
impl Unpin for SelectItemSource
impl UnsafeUnpin for SelectItemSource
impl UnwindSafe for SelectItemSource
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