Trait catalog::system_schema::SystemSchemaProvider

source ·
pub trait SystemSchemaProvider {
    // Required method
    fn tables(&self) -> &HashMap<String, TableRef>;

    // Provided methods
    fn table(&self, name: &str) -> Option<TableRef> { ... }
    fn table_names(&self) -> Vec<String> { ... }
}

Required Methods§

source

fn tables(&self) -> &HashMap<String, TableRef>

Returns a map of [TableRef] in information schema.

Provided Methods§

source

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

Returns the [TableRef] by table name.

source

fn table_names(&self) -> Vec<String>

Returns table names in the order of table id.

Implementors§