pub struct ExecutionProps {
    pub query_execution_start_time: DateTime<Utc>,
    pub var_providers: Option<HashMap<VarType, Arc<dyn VarProvider + Send + Sync>>>,
}
Expand description

Holds per-execution properties and data (such as starting timestamps, etc). An instance of this struct is created each time a [LogicalPlan] is prepared for execution (optimized). If the same plan is optimized multiple times, a new ExecutionProps is created each time.

It is important that this structure be cheap to create as it is done so during predicate pruning and expression simplification

Fields§

§query_execution_start_time: DateTime<Utc>§var_providers: Option<HashMap<VarType, Arc<dyn VarProvider + Send + Sync>>>

providers for scalar variables

Implementations§

Creates a new execution props

Marks the execution of query started timestamp

Registers a variable provider, returning the existing provider, if any

Returns the provider for the var_type, if any

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. 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.

Should always be Self
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.