risingwave_frontend::catalog

Trait OwnedByUserCatalog

source
pub trait OwnedByUserCatalog {
    // Required method
    fn owner(&self) -> u32;
}
Expand description

A trait for the catalog with owners, including relations (table, index, sink, etc.) and function, connection.

This trait can be used to reduce code duplication and can be extended if needed in the future.

Required Methods§

source

fn owner(&self) -> u32

Returns the owner of the catalog.

Implementations on Foreign Types§

source§

impl OwnedByUserCatalog for SinkCatalog

source§

fn owner(&self) -> u32

Implementors§