MapReduce Class

(Utils::Internal::MapReduce)

Public Functions

MapReduce(QFutureInterface<ReduceResult> futureInterface, ForwardIterator begin, ForwardIterator end, MapFunction &&map, State &state, ReduceFunction &&reduce, MapReduceOption option, QThreadPool *pool, int size)

Reimplemented Protected Functions

virtual void reduce(QFutureWatcher<MapResult> *watcher, int index) override

Member Function Documentation

MapReduce::MapReduce(QFutureInterface<ReduceResult> futureInterface, ForwardIterator begin, ForwardIterator end, MapFunction &&map, State &state, ReduceFunction &&reduce, MapReduceOption option, QThreadPool *pool, int size)

Default constructs an instance of MapReduce.

[override virtual protected] void MapReduce::reduce(QFutureWatcher<MapResult> *watcher, int index)