OracleReadJournalDao

org.apache.pekko.persistence.jdbc.query.dao.legacy.OracleReadJournalDao

Attributes

Source
ByteArrayReadJournalDao.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Concrete methods

def allPersistenceIdsSource(max: Long): Source[String, NotUsed]

Returns distinct stream of persistenceIds

Returns distinct stream of persistenceIds

Attributes

Source
ByteArrayReadJournalDao.scala
def eventsByTag(tag: String, offset: Long, maxOffset: Long, max: Long): Source[Try[(PersistentRepr, Set[String], Long)], NotUsed]

Returns a Source of deserialized data for certain tag from an offset. The result is sorted by the global ordering of the events. Each element with be a try with a PersistentRepr, set of tags, and a Long representing the global ordering of events

Returns a Source of deserialized data for certain tag from an offset. The result is sorted by the global ordering of the events. Each element with be a try with a PersistentRepr, set of tags, and a Long representing the global ordering of events

Attributes

Source
ByteArrayReadJournalDao.scala

Inherited and Abstract methods

def journalSequence(offset: Long, limit: Long): Source[Long, NotUsed]

Value parameters

limit

Maximum number of values to retrieve

offset

Minimum value to retrieve

Attributes

Returns

A Source of journal event sequence numbers (corresponding to the Ordering column)

Inherited from:
ReadJournalDao
Source
ReadJournalDao.scala
def lastPersistenceIdSequenceNumber(persistenceId: String): Future[Option[Long]]

Returns the last known sequence number for the given persistenceId. Empty if the persistenceId is unknown.

Returns the last known sequence number for the given persistenceId. Empty if the persistenceId is unknown.

Value parameters

persistenceId

The persistenceId for which the last known sequence number should be returned.

Attributes

Returns

Some sequence number or None if the persistenceId is unknown.

Inherited from:
ReadJournalDao
Source
ReadJournalDao.scala
def maxJournalSequence(): Future[Long]

Attributes

Returns

The value of the maximum (ordering) id in the journal

Inherited from:
ReadJournalDao
Source
ReadJournalDao.scala
def messages(persistenceId: String, fromSequenceNr: Long, toSequenceNr: Long, max: Long): Source[Try[(PersistentRepr, Long)], NotUsed]

Returns a Source of PersistentRepr and ordering number for a certain persistenceId. It includes the events with sequenceNr between fromSequenceNr (inclusive) and toSequenceNr (inclusive).

Returns a Source of PersistentRepr and ordering number for a certain persistenceId. It includes the events with sequenceNr between fromSequenceNr (inclusive) and toSequenceNr (inclusive).

Attributes

Inherited from:
JournalDaoWithReadMessages
Source
JournalDaoWithReadMessages.scala
def messagesWithBatch(persistenceId: String, fromSequenceNr: Long, toSequenceNr: Long, batchSize: Int, refreshInterval: Option[(FiniteDuration, Scheduler)]): Source[Try[(PersistentRepr, Long)], NotUsed]

Returns a Source of PersistentRepr and ordering number for a certain persistenceId. It includes the events with sequenceNr between fromSequenceNr (inclusive) and toSequenceNr (inclusive).

Returns a Source of PersistentRepr and ordering number for a certain persistenceId. It includes the events with sequenceNr between fromSequenceNr (inclusive) and toSequenceNr (inclusive).

Attributes

Inherited from:
JournalDaoWithReadMessages
Source
JournalDaoWithReadMessages.scala

Concrete fields

val theTableName: String

Attributes

Source
ByteArrayReadJournalDao.scala

Implicits

Implicits

implicit val getJournalRow: GetResult[JournalRow]

Attributes

Source
ByteArrayReadJournalDao.scala