Skip to main content

EventRelationCatalog

Trait EventRelationCatalog 

Source
pub trait EventRelationCatalog {
    // Required methods
    fn event_relation_owner(
        &self,
        relation: &RelationIdentity,
    ) -> Result<(String, &'static str), SQLError>;
    fn view_kind(&self, relation: &RelationIdentity) -> Option<StoredViewKind>;
    fn view(&self, relation: &RelationIdentity) -> Option<StoredView>;
    fn foreign_columns(
        &self,
        relation: &RelationIdentity,
    ) -> Option<Vec<ColumnDef>>;
    fn restored_catalog_view_definition(
        &self,
        name: &str,
    ) -> Result<Option<StoredView>, SQLError>;
    fn stored_view_schema(
        &self,
        view: &StoredView,
    ) -> Result<RowSchema, SQLError>;
    fn loaded_table_hierarchy(
        &self,
        relation: &RelationIdentity,
    ) -> Option<TableHierarchy>;
}
Expand description

Read the current catalog entry at the point required by definition analysis.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§