[][src]Struct datafusion::sql::planner::SqlToRel

pub struct SqlToRel { /* fields omitted */ }

SQL query planner

Methods

impl SqlToRel[src]

pub fn new(schema_provider: Arc<dyn SchemaProvider>) -> Self[src]

Create a new query planner

pub fn sql_to_rel(&self, sql: &ASTNode) -> Result<Arc<LogicalPlan>>[src]

Generate a logic plan from a SQL AST node

pub fn sql_to_rex(&self, sql: &ASTNode, schema: &Schema) -> Result<Expr>[src]

Generate a relational expression from a SQL expression

Auto Trait Implementations

impl !Send for SqlToRel

impl !Sync for SqlToRel

impl Unpin for SqlToRel

impl !UnwindSafe for SqlToRel

impl !RefUnwindSafe for SqlToRel

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> FromCast<T> for T

impl<T, U> Cast<U> for T where
    U: FromCast<T>, 

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err