org.apache.pekko.persistence.query.typed

Members list

Type members

Classlikes

object EventEnvelope

Attributes

Companion
class
Source
EventEnvelope.scala
Supertypes
class Object
trait Matchable
class Any
Self type
final class EventEnvelope[Event](val offset: Offset, val persistenceId: String, val sequenceNr: Long, val eventOption: Option[Event], val timestamp: Long, val eventMetadata: Option[Any], val entityType: String, val slice: Int)

Event wrapper adding meta data for the events in the result stream of pekko.persistence.query.typed.scaladsl.EventsBySliceQuery query, or similar queries.

Event wrapper adding meta data for the events in the result stream of pekko.persistence.query.typed.scaladsl.EventsBySliceQuery query, or similar queries.

If the event is not defined it has not been loaded yet. It can be loaded with pekko.persistence.query.typed.scaladsl.LoadEventQuery.

The timestamp is the time the event was stored, in milliseconds since midnight, January 1, 1970 UTC (same as System.currentTimeMillis).

It is an improved EventEnvelope compared to pekko.persistence.query.EventEnvelope.

API May Change

Attributes

Companion
object
Source
EventEnvelope.scala
Supertypes
class Object
trait Matchable
class Any