protected boolean validateStatisticDataSource(final StatisticEvent statisticEvent,
                                                  final StatisticStoreDoc statisticsDataSource) {
        if (statisticsDataSourceValidator != null) {
            return statisticsDataSourceValidator.validateStatisticDataSource(statisticEvent.getName(),
                    statisticEvent.getType(), statisticsDataSource);
        } else {
            // no validator has been supplied so return true
            return true;
        }
    }
@param eventsBatch A batch of {@link StatisticEvent} all with the same statistic name
stroom-statistics/stroom-statistics-impl-sql/src/main/java/stroom/statistics/impl/sql/SQLStatisticEventStore.java