@Override
    public <R> void fetch(final List<Column> columns,
                          final OffsetRange range,
                          final OpenGroups openGroups,
                          final TimeFilter timeFilter,
                          final ItemMapper<R> mapper,
                          final Consumer<R> resultConsumer,
                          final Consumer<Long> totalRowCountConsumer) {
        // Update our sort columns if needed.
        compiledSorters.update(columns);

        final OffsetRange enforcedRange = Optional
                .ofNullable(range)
                .orElse(OffsetRange.UNBOUNDED);

        final FetchState fetchState = new FetchState();
        fetchState.countRows = totalRowCountConsumer != null;
        fetchState.reachedRowLimit = fetchState.length >= enforcedRange.getLength();
        fetchState.keepGoing = fetchState.justCount || !fetchState.reachedRowLimit;

        getChildren(
                Key.ROOT_KEY,
                openGroups,
                mapper,
                enforcedRange,
                fetchState,
                resultConsumer);

        if (totalRowCountConsumer != null) {
            totalRowCountConsumer.accept(fetchState.totalRowCount);
        }
    }
Add some values to the data store.

@param values The values to add to the store.
stroom-query/stroom-query-common/src/main/java/stroom/query/common/v2/MapDataStore.java