Class/Object

com.seancheatham.akka.persistence.FirebaseJournal

EventItem

Related Docs: object EventItem | package FirebaseJournal

Permalink

case class EventItem(manifest: String, deleted: Boolean, sender: Option[String], writerUuid: String, value: JsValue, valueType: String) extends Product with Serializable

Events get stored using this structure, however the field names are shortened when exporting to JSON, to save space and time.

manifest

@see akka.persistence.PersistentRepr#manifest

deleted

@see akka.persistence.PersistentRepr#deleted

sender

@see akka.persistence.PersistentRepr#sender

writerUuid

@see akka.persistence.PersistentRepr#writerUuid

value

The serialized value of the Repr's payload. If the value is a primitive, it'll be stored as a Json primitive. If the value is some sort of serializable object, the object gets serialized and then Base64 Encoded.

valueType

A hint as to what the com.seancheatham.akka.persistence.FirebaseJournal.EventItem#value() is

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

Instance Constructors

  1. new EventItem(manifest: String, deleted: Boolean, sender: Option[String], writerUuid: String, value: JsValue, valueType: String)

    Permalink

    manifest

    @see akka.persistence.PersistentRepr#manifest

    deleted

    @see akka.persistence.PersistentRepr#deleted

    sender

    @see akka.persistence.PersistentRepr#sender

    writerUuid

    @see akka.persistence.PersistentRepr#writerUuid

    value

    The serialized value of the Repr's payload. If the value is a primitive, it'll be stored as a Json primitive. If the value is some sort of serializable object, the object gets serialized and then Base64 Encoded.

    valueType

    A hint as to what the com.seancheatham.akka.persistence.FirebaseJournal.EventItem#value() is

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val deleted: Boolean

    Permalink

    @see akka.persistence.PersistentRepr#deleted

  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  11. val manifest: String

    Permalink

    @see akka.persistence.PersistentRepr#manifest

  12. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  14. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. def repr(id: Long, persistenceId: String)(implicit system: ExtendedActorSystem, serialization: Serialization): PersistentRepr

    Permalink

    Converts this EventItem into a Persistence Repr

    Converts this EventItem into a Persistence Repr

    id

    The akka.persistence.PersistentImpl#sequenceNr()

    persistenceId

    The akka.persistence.PersistentImpl#persistenceId()

    system

    An implicit actor system, for deserializing

    serialization

    The actor's serialization

    returns

    a PersistenceRepr

  16. val sender: Option[String]

    Permalink

    @see akka.persistence.PersistentRepr#sender

  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  18. def value(implicit serialization: Serialization): Any

    Permalink

    Base64 decodes and deserializes this item's value

    Base64 decodes and deserializes this item's value

    serialization

    An Actor Serialization

    returns

    an Any, per deserialization rules

  19. val value: JsValue

    Permalink

    The serialized value of the Repr's payload.

    The serialized value of the Repr's payload. If the value is a primitive, it'll be stored as a Json primitive. If the value is some sort of serializable object, the object gets serialized and then Base64 Encoded.

  20. val valueType: String

    Permalink

    A hint as to what the com.seancheatham.akka.persistence.FirebaseJournal.EventItem#value() is

  21. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. val writerUuid: String

    Permalink

    @see akka.persistence.PersistentRepr#writerUuid

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped