Struct datafusion_sql::unparser::Unparser
source · pub struct Unparser<'a> { /* private fields */ }
Implementations§
source§impl Unparser<'_>
impl Unparser<'_>
pub fn expr_to_sql(&self, expr: &Expr) -> Result<Expr>
sourcepub fn expr_to_unparsed(&self, expr: &Expr) -> Result<Unparsed>
pub fn expr_to_unparsed(&self, expr: &Expr) -> Result<Unparsed>
This function can convert more Expr
types than expr_to_sql
, returning an [Unparsed
]
like Sort
expressions to OrderByExpr
expressions.
source§impl Unparser<'_>
impl Unparser<'_>
pub fn plan_to_sql(&self, plan: &LogicalPlan) -> Result<Statement>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Unparser<'a>
impl<'a> !RefUnwindSafe for Unparser<'a>
impl<'a> !Send for Unparser<'a>
impl<'a> !Sync for Unparser<'a>
impl<'a> Unpin for Unparser<'a>
impl<'a> !UnwindSafe for Unparser<'a>
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