Module context

Module context 

Source
Expand description

SessionContext API for registering data sources and executing queries

Re-exportsยง

pub use crate::execution::session_state::SessionState;

Modulesยง

avro ๐Ÿ”’
csv ๐Ÿ”’
json ๐Ÿ”’
parquet ๐Ÿ”’

Structsยง

BadPlanVisitor ๐Ÿ”’
EmptySerializerRegistry
Default implementation of SerializerRegistry that throws unimplemented error for all requests.
ExecutionProps
Holds per-query execution properties and data (such as statement starting timestamps).
SQLOptions
Describes which SQL statements can be run.
SessionConfig
Configuration options for SessionContext.
SessionContext
Main interface for executing queries with DataFusion. Maintains the state of the connection between a user and an instance of the DataFusion engine.
TaskContext
Task Execution Context

Enumsยง

RegisterFunction
The result of processing a CreateFunction statement with FunctionFactory.

Traitsยง

DataFilePaths
DataFilePaths adds a method to convert strings and vector of strings to vector of ListingTableUrl URLs. This allows methods such SessionContext::read_csv and SessionContext::read_avro to take either a single file or multiple files.
FunctionFactory
Interface for handling CREATE FUNCTION statements and interacting with SessionState to create and register functions (ScalarUDF, AggregateUDF, WindowUDF, and TableFunctionImpl) dynamically.
QueryPlanner
A planner used to add extensions to DataFusion logical and physical plans.