Struct graphic_walker_parser::parser::Parser
source · pub struct Parser {
pub params: ParserParams,
}Fields§
§params: ParserParamsImplementations§
source§impl Parser
impl Parser
pub fn parser_table_define(&self, dataset: &Dataset) -> TableWithJoins
pub fn parser_dataview( &self, dataset: &Dataset, view: Vec<DataView> ) -> Result<TableWithJoins>
pub fn replace_default_table( &self, origin: Statement, review_table: TableWithJoins ) -> Statement
pub fn rewrite_data_view_table_with_join( &self, origin_table: TableWithJoins, review_table: TableWithJoins ) -> TableWithJoins
pub fn create_data_view_projection( &self, fid_map: HashMap<String, String> ) -> Vec<SelectItem>
pub fn parser_dsl_wtih_table( &self, table: TableWithJoins, dsl: DSL ) -> Result<Statement>
pub fn get_quote(&self) -> Option<char>
pub fn get_as_quote(&self) -> Option<char>
pub fn get_projection_and_group_expr( &self, query: &Query, alias: &HashMap<String, SelectItem> ) -> (Vec<SelectItem>, Vec<Expr>, HashMap<String, SelectItem>)
pub fn get_transform_expr( &self, transform: Transform, alias: &HashMap<String, SelectItem> ) -> (Vec<SelectItem>, Vec<SelectItem>, HashMap<String, SelectItem>)
pub fn get_log_n_func_expr(&self, num: i64, field: String) -> Expr
pub fn get_selection( &self, filter: Filter, alias: &HashMap<String, SelectItem> ) -> Option<Expr>
pub fn get_order_epxr(&self, sort: Sort, by: Vec<String>) -> Vec<OrderByExpr>
Auto Trait Implementations§
impl RefUnwindSafe for Parser
impl Send for Parser
impl Sync for Parser
impl Unpin for Parser
impl UnwindSafe for Parser
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