@org.apache.thrift.annotation.Nullable
    public static _Fields findByThriftId(int fieldId) {
      switch(fieldId) {
        case 1: // ID
          return ID;
        case 2: // DBNAME
          return DBNAME;
        case 3: // TABLENAME
          return TABLENAME;
        case 4: // PARTITIONNAME
          return PARTITIONNAME;
        case 5: // TYPE
          return TYPE;
        case 6: // RUNAS
          return RUNAS;
        case 7: // PROPERTIES
          return PROPERTIES;
        case 8: // TOOMANYABORTS
          return TOOMANYABORTS;
        case 9: // STATE
          return STATE;
        case 10: // WORKER_ID
          return WORKER_ID;
        case 11: // START
          return START;
        case 12: // HIGHEST_WRITE_ID
          return HIGHEST_WRITE_ID;
        case 13: // ERROR_MESSAGE
          return ERROR_MESSAGE;
        case 14: // HASOLDABORT
          return HASOLDABORT;
        case 15: // ENQUEUE_TIME
          return ENQUEUE_TIME;
        case 16: // RETRY_RETENTION
          return RETRY_RETENTION;
        case 17: // POOLNAME
          return POOLNAME;
        case 18: // NUMBER_OF_BUCKETS
          return NUMBER_OF_BUCKETS;
        case 19: // ORDER_BY_CLAUSE
          return ORDER_BY_CLAUSE;
        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/CompactionInfoStruct.java