public void addWriteEventInfo(WriteEventInfo writeEventInfo) {
    if (this.writeEventInfos == null) {
      this.writeEventInfos = new ArrayList<>();
    }
    this.writeEventInfos.add(writeEventInfo);
  }
OperationType.
Different kind of events supported for replaying.
ql/src/java/org/apache/hadoop/hive/ql/plan/ReplTxnWork.java