org.apache.pekko.persistence.query.javadsl

Members list

Type members

Classlikes

A plugin may optionally support this query by implementing this interface.

A plugin may optionally support this query by implementing this interface.

Attributes

Source
CurrentEventsByPersistenceIdQuery.scala
Supertypes
trait ReadJournal
class Object
trait Matchable
class Any
Known subtypes

A plugin may optionally support this query by implementing this interface.

A plugin may optionally support this query by implementing this interface.

Attributes

Source
CurrentEventsByTagQuery.scala
Supertypes
trait ReadJournal
class Object
trait Matchable
class Any
Known subtypes

A plugin may optionally support this query by implementing this interface.

A plugin may optionally support this query by implementing this interface.

Attributes

Source
CurrentPersistenceIdsQuery.scala
Supertypes
trait ReadJournal
class Object
trait Matchable
class Any
Known subtypes

A DurableStateStore may optionally support this query by implementing this trait.

A DurableStateStore may optionally support this query by implementing this trait.

Attributes

Source
DurableStateStorePagedPersistenceIdsQuery.scala
Supertypes
class Object
trait Matchable
class Any

Query API for reading durable state objects.

Query API for reading durable state objects.

For Scala API see pekko.persistence.query.scaladsl.DurableStateStoreQuery.

Attributes

Source
DurableStateStoreQuery.scala
Supertypes
class Object
trait Matchable
class Any

A plugin may optionally support this query by implementing this interface.

A plugin may optionally support this query by implementing this interface.

Attributes

Source
EventsByPersistenceIdQuery.scala
Supertypes
trait ReadJournal
class Object
trait Matchable
class Any
Known subtypes

A plugin may optionally support this query by implementing this interface.

A plugin may optionally support this query by implementing this interface.

Attributes

Source
EventsByTagQuery.scala
Supertypes
trait ReadJournal
class Object
trait Matchable
class Any
Known subtypes

A ReadJournal may optionally support this query by implementing this trait.

A ReadJournal may optionally support this query by implementing this trait.

Attributes

Source
PagedPersistenceIdsQuery.scala
Supertypes
trait ReadJournal
class Object
trait Matchable
class Any

A plugin may optionally support this query by implementing this interface.

A plugin may optionally support this query by implementing this interface.

Attributes

Source
PersistenceIdsQuery.scala
Supertypes
trait ReadJournal
class Object
trait Matchable
class Any
Known subtypes
trait ReadJournal

API for reading persistent events and information derived from stored persistent events.

API for reading persistent events and information derived from stored persistent events.

The purpose of the API is not to enforce compatibility between different journal implementations, because the technical capabilities may be very different. The interface is very open so that different journals may implement specific queries.

There are a few pre-defined queries that a query implementation may implement, such as EventsByPersistenceIdQuery, PersistenceIdsQuery and EventsByTagQuery Implementation of these queries are optional and query (journal) plugins may define their own specialized queries by implementing other methods.

Usage:

SomeCoolReadJournal journal =
 PersistenceQuery.get(system).getReadJournalFor(SomeCoolReadJournal.class, queryPluginConfigPath);
Source<EventEnvolope, Unit> events = journal.eventsByTag("mytag", 0L);

For Scala API see org.apache.pekko.persistence.query.scaladsl.ReadJournal.

Attributes

Source
ReadJournal.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes