Expand description
Interfaces and default implementations of catalogs and schemas.
Implementations
- Information schema:
information_schema
- Simple memory based catalog:
MemoryCatalogProviderList
,MemoryCatalogProvider
,MemorySchemaProvider
Re-exports§
pub use memory::MemoryCatalogProvider;
pub use memory::MemoryCatalogProviderList;
pub use memory::MemorySchemaProvider;
Modules§
- information_
schema InformationSchemaProvider
that implements the SQL Information Schema for DataFusion.- memory
MemoryCatalogProvider
,MemoryCatalogProviderList
: In-memory implementations ofCatalogProviderList
andCatalogProvider
.- streaming
- A simplified
TableProvider
for streaming partitioned datasets
Structs§
- Dynamic
File Catalog - Wrap another catalog provider list
- Dynamic
File Schema Provider - Implements the DynamicFileSchemaProvider that can create tables provider from the file path.
- Resolved
Table Reference - A fully resolved path to a table of the form “catalog.schema.table”
- Session
Store - The state store that stores the reference of the runtime session state.
- Table
Function - A table that uses a function to generate data
Enums§
- Table
Reference - A multi part identifier (path) to a table that may require further
resolution (e.g.
foo.bar
).
Traits§
- Async
Catalog Provider - A trait for catalog providers that must resolve schemas asynchronously
- Async
Catalog Provider List - A trait for catalog provider lists that must resolve catalogs asynchronously
- Async
Schema Provider - A trait for schema providers that must resolve tables asynchronously
- Catalog
Provider - Represents a catalog, comprising a number of named schemas.
- Catalog
Provider List - Represent a list of named
CatalogProvider
s. - Schema
Provider - Represents a schema, comprising a number of named tables.
- Session
- Interface for accessing
SessionState
from the catalog. - Table
Function Impl - A trait for table function implementations
- Table
Provider - A table which can be queried and modified.
- Table
Provider Factory - A factory which creates
TableProvider
s at runtime given a URL. - UrlTable
Factory - UrlTableFactory is a factory that can create a table provider from the given url.
Functions§
- resolve_
table_ references - Collects all tables and views referenced in the SQL statement. CTEs are collected separately. This can be used to determine which tables need to be in the catalog for a query to be planned.