catalog::system_schema

Trait SystemSchemaProviderInner

source
trait SystemSchemaProviderInner {
    // Required methods
    fn catalog_name(&self) -> &str;
    fn schema_name() -> &'static str;
    fn system_table(
        &self,
        name: &str,
    ) -> Option<Arc<dyn SystemTable + Send + Sync>>;

    // Provided methods
    fn build_table(&self, name: &str) -> Option<TableRef> { ... }
    fn table_info(
        catalog_name: String,
        table: &Arc<dyn SystemTable + Send + Sync>,
    ) -> TableInfoRef { ... }
}

Required Methods§

source

fn catalog_name(&self) -> &str

source

fn schema_name() -> &'static str

source

fn system_table(&self, name: &str) -> Option<Arc<dyn SystemTable + Send + Sync>>

Provided Methods§

source

fn build_table(&self, name: &str) -> Option<TableRef>

source

fn table_info( catalog_name: String, table: &Arc<dyn SystemTable + Send + Sync>, ) -> TableInfoRef

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§