pub trait ExternalCatalogReference {
    // Required methods
    fn schema_name(&self) -> &str;
    fn item_name(&self) -> &str;
}
Expand description

Describes how external references should be organized in a multi-level hierarchy.

For both PostgreSQL and MySQL sources, these levels of reference are intrinsic to the items which we’re referencing. If there are other naming schemas for other types of sources we discover, we might need to revisit this.

Required Methods§

source

fn schema_name(&self) -> &str

The “second” level of namespacing for the reference.

source

fn item_name(&self) -> &str

The lowest level of namespacing for the reference.

Implementations on Foreign Types§

source§

impl ExternalCatalogReference for MySqlTableDesc

source§

fn schema_name(&self) -> &str

source§

fn item_name(&self) -> &str

source§

impl ExternalCatalogReference for PostgresTableDesc

source§

fn schema_name(&self) -> &str

source§

fn item_name(&self) -> &str

source§

impl<'a> ExternalCatalogReference for (&'a str, &'a str)

source§

fn schema_name(&self) -> &str

source§

fn item_name(&self) -> &str

Implementors§