CrossEntity
zio.blocks.projection.ProjectionScope.CrossEntity
final case class CrossEntity(routedBy: Any => String) extends ProjectionScope
Events are grouped into shards by a key read from the event, so one shard can hold data from many entities.
Value parameters
- routedBy
-
reads the shard key from an event
Attributes
- Source
- Projection.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ProjectionScopeclass Objecttrait Matchableclass Any
Members list
In this article