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
- Alphabetic
- By Inheritance
- Sequence
- Serializable
- Product
- Equals
- Ordered
- Comparable
- Offset
- AnyRef
- Any
- by orderingToOrdered
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (Sequence, B)
- def <(that: Sequence): Boolean
- Definition Classes
- Ordered
- def <=(that: Sequence): Boolean
- Definition Classes
- Ordered
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def >(that: Sequence): Boolean
- Definition Classes
- Ordered
- def >=(that: Sequence): Boolean
- Definition Classes
- Ordered
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- def compare(that: Sequence): Int
- Definition Classes
- Sequence → Ordered
- def compareTo(that: Sequence): Int
- Definition Classes
- Ordered → Comparable
- def ensuring(cond: (Sequence) => Boolean, msg: => Any): Sequence
- def ensuring(cond: (Sequence) => Boolean): Sequence
- def ensuring(cond: Boolean, msg: => Any): Sequence
- def ensuring(cond: Boolean): Sequence
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val value: Long
- 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]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Shadowed Implicit Value Members
- def <(that: Sequence): Boolean
- Implicit
- This member is added by an implicit conversion from Sequence toOrdered[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
- def <=(that: Sequence): Boolean
- Implicit
- This member is added by an implicit conversion from Sequence toOrdered[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
- def >(that: Sequence): Boolean
- Implicit
- This member is added by an implicit conversion from Sequence toOrdered[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
- def >=(that: Sequence): Boolean
- Implicit
- This member is added by an implicit conversion from Sequence toOrdered[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
- def compare(that: Sequence): Int
- Implicit
- This member is added by an implicit conversion from Sequence toOrdered[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
- def compareTo(that: Sequence): Int
- Implicit
- This member is added by an implicit conversion from Sequence toOrdered[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
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from Sequence toStringFormat[Sequence] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- def →[B](y: B): (Sequence, B)
- Implicit
- This member is added by an implicit conversion from Sequence toArrowAssoc[Sequence] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.