Trait datafusion::catalog::catalog::CatalogProvider [−][src]
pub trait CatalogProvider: Sync + Send {
fn as_any(&self) -> &dyn Any;
fn schema_names(&self) -> Vec<String>ⓘ;
fn schema(&self, name: &str) -> Option<Arc<dyn SchemaProvider>>;
}
Expand description
Represents a catalog, comprising a number of named schemas.
Required methods
Returns the catalog provider as Any
so that it can be downcast to a specific implementation.
Retrieves the list of available schema names in this catalog.