@Override
            public TimeAgnosticStatisticEvent next() {
                if (tagListPermutations == null || tagListPermutations.size() == 0) {
                    return null;
                }

                // the tag list embedded in the originalStatisticEvent is
                // ignored as it will be contained within the
                // tagListPermutations
                if (originalStatisticEvent.getType().equals(StatisticType.COUNT)) {
                    return TimeAgnosticStatisticEvent.createCount(originalStatisticEvent.getName(),
                            tagListPermutations.get(nextElement++), originalStatisticEvent.getCount());
                } else {
                    return TimeAgnosticStatisticEvent.createValue(originalStatisticEvent.getName(),
                            tagListPermutations.get(nextElement++), originalStatisticEvent.getValue());
                }
            }
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