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 pekko.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
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- Sequence
- Serializable
- Product
- Equals
- Ordered
- Comparable
- Offset
- AnyRef
- Any
Implicitly
- by orderingToOrdered
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- def <(that: Sequence): Boolean
- Definition Classes
- Ordered
- def <=(that: Sequence): Boolean
- Definition Classes
- Ordered
- def >(that: Sequence): Boolean
- Definition Classes
- Ordered
- def >=(that: Sequence): Boolean
- Definition Classes
- Ordered
- def compare(that: Sequence): Int
- Definition Classes
- Sequence → Ordered
- def compareTo(that: Sequence): Int
- Definition Classes
- Ordered → Comparable
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val value: Long
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