Packages

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 Tagged unwrapping). 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 before bind is called.

metadata

The optional event metadata, deserialized. Same value as EventSourcedBehavior.currentMetadata. May be None for already-serialized events even when metadata was stored.

tags

The tags of the event.

Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Insert
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. 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 Tagged unwrapping). 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 before bind is called.

    metadata

    The optional event metadata, deserialized. Same value as EventSourcedBehavior.currentMetadata. May be None for already-serialized events even when metadata was stored.

    tags

    The tags of the event.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  6. val entityType: String
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  9. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  10. val metadata: Option[Any]
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  14. val persistenceId: String
  15. def productElementNames: Iterator[String]
    Definition Classes
    Product
  16. val seqNr: Long
  17. val slice: Int
  18. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  19. val tags: Set[String]
  20. val value: A
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped