Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
PlannerContext in datafusion_sql::planner - Rust
[go: Go Back, main page]

pub struct PlannerContext {
    pub prepare_param_data_types: Vec<DataType>,
    pub ctes: HashMap<String, LogicalPlan>,
}
Expand description

Struct to store Common Table Expression (CTE) provided with WITH clause and Parameter Data Types provided with PREPARE statement

Fields§

§prepare_param_data_types: Vec<DataType>

Data type provided with prepare statement

§ctes: HashMap<String, LogicalPlan>

Map of CTE name to logical plan of the WITH clause

Implementations§

Create an empty PlannerContext

Create a new PlannerContext with provided prepare_param_data_types

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.