[][src]Struct datafusion::physical_plan::planner::DefaultPhysicalPlanner

pub struct DefaultPhysicalPlanner { /* fields omitted */ }

Default single node physical query planner that converts a LogicalPlan to an ExecutionPlan suitable for execution.

Implementations

impl DefaultPhysicalPlanner[src]

pub fn with_extension_planner(
    extension_planner: Arc<dyn ExtensionPlanner + Send + Sync>
) -> Self
[src]

Create a physical planner that uses extension_planner to plan extension nodes.

pub fn create_physical_expr(
    &self,
    e: &Expr,
    input_schema: &Schema,
    ctx_state: &ExecutionContextState
) -> Result<Arc<dyn PhysicalExpr>>
[src]

Create a physical expression from a logical expression

pub fn create_aggregate_expr(
    &self,
    e: &Expr,
    input_schema: &Schema,
    ctx_state: &ExecutionContextState
) -> Result<Arc<dyn AggregateExpr>>
[src]

Create an aggregate expression from a logical expression

pub fn create_physical_sort_expr(
    &self,
    e: &Expr,
    input_schema: &Schema,
    options: SortOptions,
    ctx_state: &ExecutionContextState
) -> Result<PhysicalSortExpr>
[src]

Create an aggregate expression from a logical expression

Trait Implementations

impl Default for DefaultPhysicalPlanner[src]

fn default() -> Self[src]

Create an implementation of the default physical planner

impl PhysicalPlanner for DefaultPhysicalPlanner[src]

fn create_physical_plan(
    &self,
    logical_plan: &LogicalPlan,
    ctx_state: &ExecutionContextState
) -> Result<Arc<dyn ExecutionPlan>>
[src]

Create a physical plan from a logical plan

Auto Trait Implementations

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, U> Into<U> for T where
    U: From<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>,