@org.apache.thrift.annotation.Nullable
  public static OperatorType findByValue(int value) { 
    switch (value) {
      case 0:
        return JOIN;
      case 1:
        return MAPJOIN;
      case 2:
        return EXTRACT;
      case 3:
        return FILTER;
      case 4:
        return FORWARD;
      case 5:
        return GROUPBY;
      case 6:
        return LIMIT;
      case 7:
        return SCRIPT;
      case 8:
        return SELECT;
      case 9:
        return TABLESCAN;
      case 10:
        return FILESINK;
      case 11:
        return REDUCESINK;
      case 12:
        return UNION;
      case 13:
        return UDTF;
      case 14:
        return LATERALVIEWJOIN;
      case 15:
        return LATERALVIEWFORWARD;
      case 16:
        return HASHTABLESINK;
      case 17:
        return HASHTABLEDUMMY;
      case 18:
        return PTF;
      case 19:
        return MUX;
      case 20:
        return DEMUX;
      case 21:
        return EVENT;
      case 22:
        return ORCFILEMERGE;
      case 23:
        return RCFILEMERGE;
      case 24:
        return MERGEJOIN;
      case 25:
        return TOPNKEY;
      default:
        return null;
    }
  }
Find a the enum type by its integer value, as defined in the Thrift IDL.
@return null if the value is not found.
ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/OperatorType.java