@Override
    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        RolledUpStatisticEvent other = (RolledUpStatisticEvent) obj;
        if (originalStatisticEvent == null) {
            if (other.originalStatisticEvent != null) {
                return false;
            }
        } else if (!originalStatisticEvent.equals(other.originalStatisticEvent)) {
            return false;
        }
        if (tagListPermutations == null) {
            return other.tagListPermutations == null;
        } else {
            return tagListPermutations.equals(other.tagListPermutations);
        }
    }
To be used when no roll ups are required
stroom-statistics/stroom-statistics-impl-sql/src/main/java/stroom/statistics/impl/sql/rollup/RolledUpStatisticEvent.java