MapperDef
com.phasmid.majabigwaduce.core.MapperDef
final case class MapperDef[K1, V1, K2, W](f: (K1, V1) => Try[(K2, W)], forgiving: Boolean) extends Serializable
Describes how to build a mapper behavior. Unlike a Behavior, a definition holds only the mapper function and its mode, and is Serializable -- so a non-local WorkerPool can ship it to another node and build the behavior there (see doc/Clustering.md).
Value parameters
- f
-
the mapper function.
- forgiving
-
whether to use Mapper_Forgiving rather than Mapper.
Attributes
- Graph
-
- Supertypes
-
trait Producttrait Equalstrait Serializableclass Objecttrait Matchableclass Any
Members list
In this article