Struct datafusion::execution::context::ExecutionContextState [−][src]
pub struct ExecutionContextState { pub catalog_list: Arc<dyn CatalogList>, pub scalar_functions: HashMap<String, Arc<ScalarUDF>>, pub var_provider: HashMap<VarType, Arc<dyn VarProvider + Send + Sync>>, pub aggregate_functions: HashMap<String, Arc<AggregateUDF>>, pub config: ExecutionConfig, }
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
var_provider: HashMap<VarType, Arc<dyn VarProvider + Send + Sync>>
Variable provider that are registered with the context
aggregate_functions: HashMap<String, Arc<AggregateUDF>>
Aggregate functions registered in the context
config: ExecutionConfig
Context configuration
Trait Implementations
impl Clone for ExecutionContextState
[src]
impl Clone for ExecutionContextState
[src]fn clone(&self) -> ExecutionContextState
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl ContextProvider for ExecutionContextState
[src]
impl ContextProvider for ExecutionContextState
[src]fn get_table_provider(
&self,
name: TableReference<'_>
) -> Option<Arc<dyn TableProvider>>
[src]
&self,
name: TableReference<'_>
) -> Option<Arc<dyn TableProvider>>
fn get_function_meta(&self, name: &str) -> Option<Arc<ScalarUDF>>
[src]
fn get_aggregate_meta(&self, name: &str) -> Option<Arc<AggregateUDF>>
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ExecutionContextState
impl !RefUnwindSafe for ExecutionContextState
impl Send for ExecutionContextState
impl Send for ExecutionContextState
impl Sync for ExecutionContextState
impl Sync for ExecutionContextState
impl Unpin for ExecutionContextState
impl Unpin for ExecutionContextState
impl !UnwindSafe for ExecutionContextState
impl !UnwindSafe for ExecutionContextState