pub trait CatalogComputeInstance<'a> {
    fn name(&self) -> &str;
    fn id(&self) -> ComputeInstanceId;
    fn linked_object_id(&self) -> Option<GlobalId>;
    fn bound_objects(&self) -> &HashSet<GlobalId>;
    fn replicas(&self) -> &HashMap<String, ReplicaId>;
}
Expand description

A compute instance in a SessionCatalog.

Required Methods§

Returns a fully-specified name of the compute instance.

Returns a stable ID for the compute instance.

Returns the ID of the object this compute instance is linked to, if any.

Returns the objects that are bound to this cluster.

Returns the replicas of the cluster as a map from replica name to replica ID.

Implementors§