final case class Insert[A](persistenceId: String, entityType: String, slice: Int, seqNr: Long, value: A, metadata: Option[Any], tags: Set[String]) extends Product with Serializable
Passed to the AdditionalColumn.bind method for each event that is about to be written.
- persistenceId
The persistence id of the event source actor.
- entityType
The entity type, as extracted from the persistenceId.
- slice
The slice of the persistenceId.
- seqNr
The sequence number of the event.
- value
The deserialized event (after any
Taggedunwrapping). For events that are persisted in already-serialized form (such as Replicated Event Sourcing) or migrated with the migration tool, the event is deserialized from the stored payload beforebindis called.- metadata
The optional event metadata, deserialized. Same value as
EventSourcedBehavior.currentMetadata. May beNonefor already-serialized events even when metadata was stored.- tags
The tags of the event.
- Alphabetic
- By Inheritance
- Insert
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Insert(persistenceId: String, entityType: String, slice: Int, seqNr: Long, value: A, metadata: Option[Any], tags: Set[String])
- persistenceId
The persistence id of the event source actor.
- entityType
The entity type, as extracted from the persistenceId.
- slice
The slice of the persistenceId.
- seqNr
The sequence number of the event.
- value
The deserialized event (after any
Taggedunwrapping). For events that are persisted in already-serialized form (such as Replicated Event Sourcing) or migrated with the migration tool, the event is deserialized from the stored payload beforebindis called.- metadata
The optional event metadata, deserialized. Same value as
EventSourcedBehavior.currentMetadata. May beNonefor already-serialized events even when metadata was stored.- tags
The tags of the event.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- val entityType: String
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val metadata: Option[Any]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- val persistenceId: String
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val seqNr: Long
- val slice: Int
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val tags: Set[String]
- val value: A
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)