Trait mz_sql::catalog::CatalogClusterReplica

source ·
pub trait CatalogClusterReplica<'a>: Debug {
    // Required methods
    fn name(&self) -> &str;
    fn cluster_id(&self) -> ClusterId;
    fn replica_id(&self) -> ReplicaId;
    fn owner_id(&self) -> RoleId;
    fn internal(&self) -> bool;
}
Expand description

A cluster replica in a SessionCatalog

Required Methods§

source

fn name(&self) -> &str

Returns the name of the cluster replica.

source

fn cluster_id(&self) -> ClusterId

Returns a stable ID for the cluster that the replica belongs to.

source

fn replica_id(&self) -> ReplicaId

Returns a stable ID for the replica.

source

fn owner_id(&self) -> RoleId

Returns the ID of the owning role.

source

fn internal(&self) -> bool

Returns whether or not the replica is internal

Implementors§