EventData

sec.EventData
See theEventData companion object
final case class EventData(eventType: EventType, eventId: UUID, data: ByteVector, metadata: ByteVector, contentType: ContentType)

Event payload for an event. This is the actual data that you persist in EventStoreDB.

Value parameters

contentType

the ContentType of encoded data and metadata.

data

a scodec.bits.ByteVector of encoded data.

eventId

unique identifier for the event.

eventType

the EventType for the event.

metadata

a scodec.bits.ByteVector of encoded metadata.

Attributes

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

Members list

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product