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§
sourcefn cluster_id(&self) -> ClusterId
fn cluster_id(&self) -> ClusterId
Returns a stable ID for the cluster that the replica belongs to.
sourcefn replica_id(&self) -> ReplicaId
fn replica_id(&self) -> ReplicaId
Returns a stable ID for the replica.