Store key-value pairs for use with mapreduce
The mapreduce
function automatically creates a
KeyValueStore
object during execution and uses it to store
key-value pairs added by the map and reduce functions. Although you never need to
explicitly create a KeyValueStore
object to use
mapreduce
, you do need to use the add
and
addmulti
object functions to interact with this object in the
map and reduce functions.
The mapreduce
function automatically creates
KeyValueStore
objects during execution.