Trait partiql_catalog::Catalog

source ·
pub trait Catalog: Debug {
    // Required methods
    fn add_table_function(
        &mut self,
        info: TableFunction
    ) -> Result<ObjectId, CatalogError>;
    fn add_type_entry(
        &mut self,
        entry: TypeEnvEntry<'_>
    ) -> Result<ObjectId, CatalogError>;
    fn get_function(&self, name: &str) -> Option<FunctionEntry<'_>>;
    fn resolve_type(&self, name: &str) -> Option<TypeEntry>;
}

Required Methods§

Implementors§