Trait Dialect
Source pub trait Dialect: Debug + Any {
Show 96 methods
// Required methods
fn is_identifier_start(&self, ch: char) -> bool;
fn is_identifier_part(&self, ch: char) -> bool;
// Provided methods
fn dialect(&self) -> TypeId { ... }
fn is_delimited_identifier_start(&self, ch: char) -> bool { ... }
fn is_nested_delimited_identifier_start(&self, _ch: char) -> bool { ... }
fn peek_nested_delimited_identifier_quotes(
&self,
_chars: Peekable<Chars<'_>>,
) -> Option<(char, Option<char>)> { ... }
fn identifier_quote_style(&self, _identifier: &str) -> Option<char> { ... }
fn is_custom_operator_part(&self, _ch: char) -> bool { ... }
fn supports_string_literal_backslash_escape(&self) -> bool { ... }
fn supports_unicode_string_literal(&self) -> bool { ... }
fn supports_filter_during_aggregation(&self) -> bool { ... }
fn supports_window_clause_named_window_reference(&self) -> bool { ... }
fn supports_within_after_array_aggregation(&self) -> bool { ... }
fn supports_group_by_expr(&self) -> bool { ... }
fn supports_group_by_with_modifier(&self) -> bool { ... }
fn supports_outer_join_operator(&self) -> bool { ... }
fn supports_connect_by(&self) -> bool { ... }
fn supports_execute_immediate(&self) -> bool { ... }
fn supports_match_recognize(&self) -> bool { ... }
fn supports_in_empty_list(&self) -> bool { ... }
fn supports_start_transaction_modifier(&self) -> bool { ... }
fn supports_end_transaction_modifier(&self) -> bool { ... }
fn supports_named_fn_args_with_eq_operator(&self) -> bool { ... }
fn supports_named_fn_args_with_colon_operator(&self) -> bool { ... }
fn supports_named_fn_args_with_assignment_operator(&self) -> bool { ... }
fn supports_named_fn_args_with_rarrow_operator(&self) -> bool { ... }
fn supports_named_fn_args_with_expr_name(&self) -> bool { ... }
fn supports_numeric_prefix(&self) -> bool { ... }
fn supports_numeric_literal_underscores(&self) -> bool { ... }
fn supports_window_function_null_treatment_arg(&self) -> bool { ... }
fn supports_dictionary_syntax(&self) -> bool { ... }
fn support_map_literal_syntax(&self) -> bool { ... }
fn supports_lambda_functions(&self) -> bool { ... }
fn supports_parenthesized_set_variables(&self) -> bool { ... }
fn supports_select_wildcard_except(&self) -> bool { ... }
fn convert_type_before_value(&self) -> bool { ... }
fn supports_triple_quoted_string(&self) -> bool { ... }
fn parse_prefix(
&self,
_parser: &mut Parser<'_>,
) -> Option<Result<Expr, ParserError>> { ... }
fn supports_trailing_commas(&self) -> bool { ... }
fn supports_limit_comma(&self) -> bool { ... }
fn supports_projection_trailing_commas(&self) -> bool { ... }
fn supports_from_trailing_commas(&self) -> bool { ... }
fn supports_column_definition_trailing_commas(&self) -> bool { ... }
fn supports_object_name_double_dot_notation(&self) -> bool { ... }
fn supports_struct_literal(&self) -> bool { ... }
fn supports_empty_projections(&self) -> bool { ... }
fn supports_select_expr_star(&self) -> bool { ... }
fn supports_from_first_select(&self) -> bool { ... }
fn supports_user_host_grantee(&self) -> bool { ... }
fn supports_match_against(&self) -> bool { ... }
fn parse_infix(
&self,
_parser: &mut Parser<'_>,
_expr: &Expr,
_precedence: u8,
) -> Option<Result<Expr, ParserError>> { ... }
fn get_next_precedence(
&self,
_parser: &Parser<'_>,
) -> Option<Result<u8, ParserError>> { ... }
fn get_next_precedence_default(
&self,
parser: &Parser<'_>,
) -> Result<u8, ParserError> { ... }
fn parse_statement(
&self,
_parser: &mut Parser<'_>,
) -> Option<Result<Statement, ParserError>> { ... }
fn parse_column_option(
&self,
_parser: &mut Parser<'_>,
) -> Result<Option<Result<Option<ColumnOption>, ParserError>>, ParserError> { ... }
fn prec_value(&self, prec: Precedence) -> u8 { ... }
fn prec_unknown(&self) -> u8 { ... }
fn describe_requires_table_keyword(&self) -> bool { ... }
fn allow_extract_custom(&self) -> bool { ... }
fn allow_extract_single_quotes(&self) -> bool { ... }
fn supports_dollar_placeholder(&self) -> bool { ... }
fn supports_create_index_with_clause(&self) -> bool { ... }
fn require_interval_qualifier(&self) -> bool { ... }
fn supports_explain_with_utility_options(&self) -> bool { ... }
fn supports_asc_desc_in_column_definition(&self) -> bool { ... }
fn supports_factorial_operator(&self) -> bool { ... }
fn supports_nested_comments(&self) -> bool { ... }
fn supports_eq_alias_assignment(&self) -> bool { ... }
fn supports_try_convert(&self) -> bool { ... }
fn supports_bang_not_operator(&self) -> bool { ... }
fn supports_listen_notify(&self) -> bool { ... }
fn supports_load_data(&self) -> bool { ... }
fn