@org.apache.thrift.annotation.Nullable
  public static TOperationType findByValue(int value) { 
    switch (value) {
      case 0:
        return EXECUTE_STATEMENT;
      case 1:
        return GET_TYPE_INFO;
      case 2:
        return GET_CATALOGS;
      case 3:
        return GET_SCHEMAS;
      case 4:
        return GET_TABLES;
      case 5:
        return GET_TABLE_TYPES;
      case 6:
        return GET_COLUMNS;
      case 7:
        return GET_FUNCTIONS;
      case 8:
        return UNKNOWN;
      case 9:
        return PROCEDURAL_SQL;
      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.
service-rpc/src/gen/thrift/gen-javabean/org/apache/hive/service/rpc/thrift/TOperationType.java