ReducerCommand

com.phasmid.majabigwaduce.core.ReducerCommand
sealed trait ReducerCommand[K2, W, V2]

This actor performs the reduce operation on the received sequence of W objects, resulting in (ideally) a V2 object. It handles a Reduce command combining both the current K2 key and the sequence ws of W objects. The reply is a ReduceResult[K2,V2].

Note that logging the actual values received in the incoming message can be VERY verbose. It is therefore recommended practice to log the values as they pass through the reducer function (g) which is under the control of the application.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class CloseReducer[K2, W, V2]
class DoReduce[K2, W, V2]
In this article