Module datafusion::catalog
source · Expand description
Interfaces and default implementations of catalogs and schemas.
Traits:
CatalogProviderList
: a collection ofCatalogProvider
sCatalogProvider
: a collection ofSchemaProvider
s (sometimes called a “database” in other systems)SchemaProvider
: a collection ofTableProvider
s (often called a “schema” in other systems)
Implementations
- Simple memory based catalog:
MemoryCatalogProviderList
,MemoryCatalogProvider
,MemorySchemaProvider
- Information schema:
information_schema
- Listing schema:
listing_schema
Re-exports§
pub use schema::SchemaProvider;
Modules§
InformationSchemaProvider
that implements the SQL Information Schema for DataFusion.ListingSchemaProvider
:SchemaProvider
that scans ObjectStores for tables automatically- Describes the interface and built-in implementations of schemas, representing collections of named tables.
Structs§
- Simple in-memory implementation of a catalog.
- Simple in-memory list of catalogs
- Simple in-memory implementation of a schema.
- A fully resolved path to a table of the form “catalog.schema.table”
Enums§
- A multi part identifier (path) to a table that may require further resolution (e.g.
foo.bar
).
Traits§
- CatalogListDeprecated
- Represents a catalog, comprising a number of named schemas.
- Represent a list of named
CatalogProvider
s.
Functions§
- 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.