pub struct ExecutionContextState {
    pub catalog_list: Arc<dyn CatalogList>,
    pub scalar_functions: HashMap<String, Arc<ScalarUDF>>,
    pub aggregate_functions: HashMap<String, Arc<AggregateUDF>>,
    pub config: ExecutionConfig,
    pub execution_props: ExecutionProps,
    pub object_store_registry: Arc<ObjectStoreRegistry>,
    pub runtime_env: Arc<RuntimeEnv>,
}
Expand description

Execution context for registering data sources and executing queries

Fields

catalog_list: Arc<dyn CatalogList>

Collection of catalogs containing schemas and ultimately TableProviders

scalar_functions: HashMap<String, Arc<ScalarUDF>>

Scalar functions that are registered with the context

aggregate_functions: HashMap<String, Arc<AggregateUDF>>

Aggregate functions registered in the context

config: ExecutionConfig

Context configuration

execution_props: ExecutionProps

Execution properties

object_store_registry: Arc<ObjectStoreRegistry>

Object Store that are registered with the context

runtime_env: Arc<RuntimeEnv>

Runtime environment

Implementations

Returns new ExecutionContextState

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Getter for a datasource

Getter for a UDF description

Getter for a UDAF description

Returns the “default value” for a type. Read more

Set of all available udfs.

Returns a reference to the udf named name.

Returns a reference to the udaf named name.

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

Performs the conversion.

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

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.