public static OperationType fromDataOperationType(DataOperationType dop) {
    return Optional.of(DOT_LOOKUP.get(dop)).orElseThrow(IllegalArgumentException::new);
  }
These are the valid values for TXN_COMPONENTS.TC_OPERATION_TYPE.
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/entities/OperationType.java