ProjectionContext

zio.blocks.projection.ProjectionContext
See theProjectionContext companion object
final case class ProjectionContext(entityId: String, timestamp: Instant, seq: Long, sourceEntityId: Option[String])

Contextual metadata associated with a projection action.

Value parameters

entityId

the identifier of the entity this action targets

seq

a monotonically increasing sequence number for ordering

sourceEntityId

optional identifier of the entity in the source system

timestamp

the time the action was produced

Attributes

Companion
object
Source
ProjectionContext.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala