Trait CatalogCollectionItem

Source
pub trait CatalogCollectionItem:
    CatalogItem
    + Send
    + Sync {
    // Required methods
    fn relation_desc(&self) -> Option<Cow<'_, RelationDesc>>;
    fn global_id(&self) -> GlobalId;
}
Expand description

An item in a SessionCatalog and the specific “collection”/pTVC that it refers to.

Required Methods§

Source

fn relation_desc(&self) -> Option<Cow<'_, RelationDesc>>

Returns a description of the result set produced by the catalog item.

If the catalog item is not of a type that produces data (e.g., a sink or an index), it returns None.

Source

fn global_id(&self) -> GlobalId

The GlobalId for this item.

Implementors§