@org.apache.thrift.annotation.Nullable
    public static _Fields findByThriftId(int fieldId) {
      switch(fieldId) {
        case 1: // CAT_NAME
          return CAT_NAME;
        case 2: // TABLE_DB
          return TABLE_DB;
        case 3: // TABLE_NAME
          return TABLE_NAME;
        case 4: // COLUMN_NAME
          return COLUMN_NAME;
        case 5: // DEFAULT_VALUE
          return DEFAULT_VALUE;
        case 6: // DC_NAME
          return DC_NAME;
        case 7: // ENABLE_CSTR
          return ENABLE_CSTR;
        case 8: // VALIDATE_CSTR
          return VALIDATE_CSTR;
        case 9: // RELY_CSTR
          return RELY_CSTR;
        default:
          return null;
      }
    }
Find the _Fields constant that matches fieldId, or null if its not found.
standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SQLDefaultConstraint.java