Expand description
SessionContext API for registering data sources and executing queries
Re-exportsยง
pub use crate::execution::session_state::SessionState;
Modulesยง
Structsยง
- BadPlan
Visitor ๐ - Empty
Serializer Registry - Default implementation of SerializerRegistry that throws unimplemented error for all requests.
- Execution
Props - Holds per-query execution properties and data (such as statement starting timestamps).
- SQLOptions
- Describes which SQL statements can be run.
- Session
Config - Configuration options for
SessionContext. - Session
Context - Main interface for executing queries with DataFusion. Maintains the state of the connection between a user and an instance of the DataFusion engine.
- Task
Context - Task Execution Context
Enumsยง
- Register
Function - The result of processing a
CreateFunctionstatement withFunctionFactory.
Traitsยง
- Data
File Paths - DataFilePaths adds a method to convert strings and vector of strings to vector of
ListingTableUrlURLs. This allows methods suchSessionContext::read_csvandSessionContext::read_avroto take either a single file or multiple files. - Function
Factory - Interface for handling
CREATE FUNCTIONstatements and interacting with SessionState to create and register functions (ScalarUDF,AggregateUDF,WindowUDF, andTableFunctionImpl) dynamically. - Query
Planner - A planner used to add extensions to DataFusion logical and physical plans.