class EventMerger {

  public boolean canMerge(MetaStoreEvent a, MetaStoreEvent b) {
    return (Objects.equals(a.getEventType(), b.getEventType()) || (!a.isDropEvent() && !b.isDropEvent()))
        && Objects.equals(a.getQualifiedTableName(), b.getQualifiedTableName())
        && Objects.equals(a.getPartitionColumns(), b.getPartitionColumns());
  }

    EventMerger();

}