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

pub struct SqlToRel<S: SchemaProvider> { /* fields omitted */ }

SQL query planner

Implementations

impl<S: SchemaProvider> SqlToRel<S>[src]

pub fn new(schema_provider: S) -> Self[src]

Create a new query planner

pub fn sql_to_rel(&self, sql: &ASTNode) -> Result<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<S> RefUnwindSafe for SqlToRel<S> where
    S: RefUnwindSafe

impl<S> Send for SqlToRel<S> where
    S: Send

impl<S> Sync for SqlToRel<S> where
    S: Sync

impl<S> Unpin for SqlToRel<S> where
    S: Unpin

impl<S> UnwindSafe for SqlToRel<S> where
    S: UnwindSafe

Blanket Implementations

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

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

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

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

impl<T> Instrument for T[src]

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

impl<T> IntoRequest<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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]