pub struct ParserContext {Show 17 fields
pub aggregations: HashMap<String, AggregateValue>,
pub window_functions: HashMap<String, WindowValue>,
pub named_window_clauses: HashMap<String, WindowDefinition>,
pub selected_fields: Vec<String>,
pub hidden_selections: Vec<String>,
pub selected_tables: Vec<String>,
pub projection_names: Vec<String>,
pub projection_locations: Vec<SourceLocation>,
pub name_alias_table: HashMap<String, String>,
pub name_generator: NameGenerator,
pub is_single_value_query: bool,
pub has_select_statement: bool,
pub has_group_by_statement: bool,
pub inside_selections: bool,
pub inside_having: bool,
pub inside_order_by: bool,
pub inside_over_clauses: bool,
}
Fields§
§aggregations: HashMap<String, AggregateValue>
§window_functions: HashMap<String, WindowValue>
§named_window_clauses: HashMap<String, WindowDefinition>
§selected_fields: Vec<String>
§selected_tables: Vec<String>
§projection_names: Vec<String>
§projection_locations: Vec<SourceLocation>
§name_alias_table: HashMap<String, String>
§name_generator: NameGenerator
§is_single_value_query: bool
§has_select_statement: bool
§has_group_by_statement: bool
§inside_selections: bool
§inside_having: bool
§inside_order_by: bool
§inside_over_clauses: bool
Trait Implementations§
Source§impl Default for ParserContext
impl Default for ParserContext
Source§fn default() -> ParserContext
fn default() -> ParserContext
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ParserContext
impl !RefUnwindSafe for ParserContext
impl !Send for ParserContext
impl !Sync for ParserContext
impl Unpin for ParserContext
impl !UnwindSafe for ParserContext
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