Expand description
The map_reduce
module contains the Chain
struct, which represents a map-reduce chain.
A map-reduce chain is a combination of two steps - a map
step and a reduce
step.
The map
step processes each input document and the reduce
step combines the results
of the map
step into a single output.
The Chain
struct is generic over the type of the Step
and provides a convenient way
to execute map-reduce operations using a provided Executor
.
Structs§
- Chain
- The
Chain
struct represents a map-reduce chain, consisting of amap
step and areduce
step.
Enums§
- MapReduce
Chain Error - The
MapReduceChainError
enum represents errors that can occur when executing a map-reduce chain.