Class

akka.persistence.query

Sequence

Related Doc: package query

Permalink

final case class Sequence(value: Long) extends Offset with Ordered[Sequence] with Product with Serializable

Corresponds to an ordered sequence number for the events. Note that the corresponding offset of each event is provided in the akka.persistence.query.EventEnvelope, which makes it possible to resume the stream at a later point from a given offset.

The offset is exclusive, i.e. the event with the exact same sequence number will not be included in the returned stream. This means that you can use the offset that is returned in EventEnvelope as the offset parameter in a subsequent query.

Source
Offset.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, Ordered[Sequence], Comparable[Sequence], Offset, AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Sequence
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Ordered
  7. Comparable
  8. Offset
  9. AnyRef
  10. Any
Implicitly
  1. by orderingToOrdered
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Sequence(value: Long)

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Sequence to any2stringadd[Sequence] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Sequence, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Sequence to ArrowAssoc[Sequence] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. def <(that: Sequence): Boolean

    Permalink
    Definition Classes
    Ordered
  6. def <=(that: Sequence): Boolean

    Permalink
    Definition Classes
    Ordered
  7. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def >(that: Sequence): Boolean

    Permalink
    Definition Classes
    Ordered
  9. def >=(that: Sequence): Boolean

    Permalink
    Definition Classes
    Ordered
  10. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def compare(that: Sequence): Int

    Permalink
    Definition Classes
    Sequence → Ordered
  13. def compareTo(that: Sequence): Int

    Permalink
    Definition Classes
    Ordered → Comparable
  14. def ensuring(cond: (Sequence) ⇒ Boolean, msg: ⇒ Any): Sequence

    Permalink
    Implicit information
    This member is added by an implicit conversion from Sequence to Ensuring[Sequence] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: (Sequence) ⇒ Boolean): Sequence

    Permalink
    Implicit information
    This member is added by an implicit conversion from Sequence to Ensuring[Sequence] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean, msg: ⇒ Any): Sequence

    Permalink
    Implicit information
    This member is added by an implicit conversion from Sequence to Ensuring[Sequence] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean): Sequence

    Permalink
    Implicit information
    This member is added by an implicit conversion from Sequence to Ensuring[Sequence] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Sequence to StringFormat[Sequence] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  21. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. val value: Long

    Permalink
  28. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. def [B](y: B): (Sequence, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Sequence to ArrowAssoc[Sequence] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. def <(that: Sequence): Boolean

    Permalink
    Implicit information
    This member is added by an implicit conversion from Sequence to Ordered[Sequence] performed by method orderingToOrdered in scala.math.Ordered.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (sequence: Ordered[Sequence]).<(that)
    Definition Classes
    Ordered
  2. def <=(that: Sequence): Boolean

    Permalink
    Implicit information
    This member is added by an implicit conversion from Sequence to Ordered[Sequence] performed by method orderingToOrdered in scala.math.Ordered.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (sequence: Ordered[Sequence]).<=(that)
    Definition Classes
    Ordered
  3. def >(that: Sequence): Boolean

    Permalink
    Implicit information
    This member is added by an implicit conversion from Sequence to Ordered[Sequence] performed by method orderingToOrdered in scala.math.Ordered.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (sequence: Ordered[Sequence]).>(that)
    Definition Classes
    Ordered
  4. def >=(that: Sequence): Boolean

    Permalink
    Implicit information
    This member is added by an implicit conversion from Sequence to Ordered[Sequence] performed by method orderingToOrdered in scala.math.Ordered.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (sequence: Ordered[Sequence]).>=(that)
    Definition Classes
    Ordered
  5. def compare(that: Sequence): Int

    Permalink
    Implicit information
    This member is added by an implicit conversion from Sequence to Ordered[Sequence] performed by method orderingToOrdered in scala.math.Ordered.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (sequence: Ordered[Sequence]).compare(that)
    Definition Classes
    Ordered
  6. def compareTo(that: Sequence): Int

    Permalink
    Implicit information
    This member is added by an implicit conversion from Sequence to Ordered[Sequence] performed by method orderingToOrdered in scala.math.Ordered.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (sequence: Ordered[Sequence]).compareTo(that)
    Definition Classes
    Ordered → Comparable

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Ordered[Sequence]

Inherited from Comparable[Sequence]

Inherited from Offset

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion orderingToOrdered from Sequence to Ordered[Sequence]

Inherited by implicit conversion any2stringadd from Sequence to any2stringadd[Sequence]

Inherited by implicit conversion StringFormat from Sequence to StringFormat[Sequence]

Inherited by implicit conversion Ensuring from Sequence to Ensuring[Sequence]

Inherited by implicit conversion ArrowAssoc from Sequence to ArrowAssoc[Sequence]

Ungrouped