Class InstanceFamilies

java.lang.Object
dev.frostlake.metastore.InstanceFamilies

public final class InstanceFamilies extends Object
The compute-pool instance-family catalog, exactly as a real account lists it — the same rows SHOW COMPUTE POOL INSTANCE FAMILIES answers with, in the same (non-alphabetical) order, and the set CREATE COMPUTE POOL validates INSTANCE_FAMILY against. A name outside this set is rejected with the account's own wording.

Row columns, in listing order: name, description, vcpu, memory_gib, storage_gib, gpu, gpu_count, gpu_memory_gib, current_node_usage, message.

  • Method Details

    • isValid

      public static boolean isValid(String name)
      Whether CREATE COMPUTE POOL accepts this INSTANCE_FAMILY name (case-insensitive).
    • rows

      public static List<String[]> rows()
      The catalog rows in listing order; each row is a fresh copy.