TSchemaTableName.java

/**
 * Autogenerated by Thrift Compiler (0.16.0)
 *
 * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
 *  @generated
 */
package org.apache.doris.thrift;


@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.16.0)", date = "2026-05-14")
public enum TSchemaTableName implements org.apache.thrift.TEnum {
  METADATA_TABLE(1),
  ACTIVE_QUERIES(2),
  WORKLOAD_GROUPS(3),
  ROUTINES_INFO(4),
  WORKLOAD_SCHEDULE_POLICY(5),
  TABLE_OPTIONS(6),
  WORKLOAD_GROUP_PRIVILEGES(7),
  TABLE_PROPERTIES(8),
  CATALOG_META_CACHE_STATS(9),
  PARTITIONS(10),
  VIEW_DEPENDENCY(11),
  SQL_BLOCK_RULE_STATUS(12),
  AUTHENTICATION_INTEGRATIONS(13);

  private final int value;

  private TSchemaTableName(int value) {
    this.value = value;
  }

  /**
   * Get the integer value of this enum value, as defined in the Thrift IDL.
   */
  public int getValue() {
    return value;
  }

  /**
   * Find a the enum type by its integer value, as defined in the Thrift IDL.
   * @return null if the value is not found.
   */
  @org.apache.thrift.annotation.Nullable
  public static TSchemaTableName findByValue(int value) { 
    switch (value) {
      case 1:
        return METADATA_TABLE;
      case 2:
        return ACTIVE_QUERIES;
      case 3:
        return WORKLOAD_GROUPS;
      case 4:
        return ROUTINES_INFO;
      case 5:
        return WORKLOAD_SCHEDULE_POLICY;
      case 6:
        return TABLE_OPTIONS;
      case 7:
        return WORKLOAD_GROUP_PRIVILEGES;
      case 8:
        return TABLE_PROPERTIES;
      case 9:
        return CATALOG_META_CACHE_STATS;
      case 10:
        return PARTITIONS;
      case 11:
        return VIEW_DEPENDENCY;
      case 12:
        return SQL_BLOCK_RULE_STATUS;
      case 13:
        return AUTHENTICATION_INTEGRATIONS;
      default:
        return null;
    }
  }
}