pub struct TrinoDialect;Expand description
Trino dialect
Trait Implementations§
Source§impl DialectImpl for TrinoDialect
impl DialectImpl for TrinoDialect
Source§fn dialect_type(&self) -> DialectType
fn dialect_type(&self) -> DialectType
Returns the
DialectType that identifies this dialect.Source§fn tokenizer_config(&self) -> TokenizerConfig
fn tokenizer_config(&self) -> TokenizerConfig
Returns the tokenizer configuration for this dialect. Read more
Source§fn generator_config(&self) -> GeneratorConfig
fn generator_config(&self) -> GeneratorConfig
Returns the generator configuration for this dialect. Read more
Source§fn transform_expr(&self, expr: Expression) -> Result<Expression>
fn transform_expr(&self, expr: Expression) -> Result<Expression>
Transforms a single expression node for this dialect, without recursing into children. Read more
Source§fn generator_config_for_expr(&self, _expr: &Expression) -> GeneratorConfig
fn generator_config_for_expr(&self, _expr: &Expression) -> GeneratorConfig
Returns a generator configuration tailored to a specific expression. Read more
Source§fn preprocess(&self, expr: Expression) -> Result<Expression>
fn preprocess(&self, expr: Expression) -> Result<Expression>
Applies whole-tree preprocessing transforms before the recursive per-node pass. Read more
Auto Trait Implementations§
impl Freeze for TrinoDialect
impl RefUnwindSafe for TrinoDialect
impl Send for TrinoDialect
impl Sync for TrinoDialect
impl Unpin for TrinoDialect
impl UnwindSafe for TrinoDialect
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