[−][src]Struct datafusion::execution::context::ExecutionContextState
Execution context for registering data sources and executing queries
Fields
datasources: HashMap<String, Arc<dyn TableProvider + Send + Sync>>
Data sources that are registered with the context
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]
fn clone(&self) -> ExecutionContextState
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl From<ExecutionContextState> for ExecutionContext
[src]
fn from(state: ExecutionContextState) -> Self
[src]
impl FunctionRegistry for ExecutionContextState
[src]
fn udfs(&self) -> HashSet<String>
[src]
fn udf(&self, name: &str) -> Result<&ScalarUDF>
[src]
fn udaf(&self, name: &str) -> Result<&AggregateUDF>
[src]
impl SchemaProvider for ExecutionContextState
[src]
fn get_table_meta(&self, name: &str) -> Option<SchemaRef>
[src]
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 Send for ExecutionContextState
impl Sync for ExecutionContextState
impl Unpin for ExecutionContextState
impl !UnwindSafe for ExecutionContextState
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,