ProjectionScope

zio.blocks.projection.ProjectionScope
See theProjectionScope companion trait

Attributes

Companion
trait
Source
Projection.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

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.

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
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case object Global extends ProjectionScope

One shared store for the whole projection, kept in its own global/ folder. Used for totals and counters.

One shared store for the whole projection, kept in its own global/ folder. Used for totals and counters.

Attributes

Source
Projection.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
Global.type
case object PerEntity extends ProjectionScope

One row per entity ID. This is the default.

One row per entity ID. This is the default.

Attributes

Source
Projection.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
PerEntity.type

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror
Source
Mirror.scala