LoadEventQuery

org.apache.pekko.persistence.query.typed.scaladsl.LoadEventQuery

EventsBySliceQuery that is using a timestamp based offset should also implement this query.

API May Change

Attributes

Graph
Supertypes
trait ReadJournal
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def loadEnvelope[Event](persistenceId: String, sequenceNr: Long): Future[EventEnvelope[Event]]

Load a single event on demand. The Future is completed with a NoSuchElementException if the event for the given persistenceId and sequenceNr doesn't exist.

Load a single event on demand. The Future is completed with a NoSuchElementException if the event for the given persistenceId and sequenceNr doesn't exist.

Attributes