@Override
    public List<QueryField> getSupportedFields(final List<QueryField> indexFields) {
        final Set<String> blackList = getIndexFieldBlackList();

        if (blackList.size() == 0) {
            // nothing blacklisted so just return the standard list from the
            // data source
            return indexFields;
        } else {
            // construct an anonymous class instance that will filter out black
            // listed index fields, as supplied by the
            // sub-class
            final List<QueryField> supportedIndexFields = new ArrayList<>();
            indexFields.stream()
                    .filter(indexField -> !blackList.contains(indexField.getFldName()))
                    .forEach(supportedIndexFields::add);

            return supportedIndexFields;
        }
    }
@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