@org.apache.thrift.annotation.Nullable
  public static EventRequestType findByValue(int value) { 
    switch (value) {
      case 1:
        return INSERT;
      case 2:
        return UPDATE;
      case 3:
        return DELETE;
      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.
standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EventRequestType.java