Packages

c

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

DefaultReadJournalDao

class DefaultReadJournalDao extends ReadJournalDao with BaseJournalDaoWithReadMessages with H2Compat

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DefaultReadJournalDao
  2. H2Compat
  3. BaseJournalDaoWithReadMessages
  4. ReadJournalDao
  5. JournalDaoWithReadMessages
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DefaultReadJournalDao(db: slick.jdbc.JdbcBackend.Database, profile: JdbcProfile, readJournalConfig: ReadJournalConfig, serialization: Serialization)(implicit ec: ExecutionContext, mat: Materializer)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def allPersistenceIdsSource(max: Long): Source[String, NotUsed]

    Returns distinct stream of persistenceIds

    Returns distinct stream of persistenceIds

    Definition Classes
    DefaultReadJournalDaoReadJournalDao
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def correctMaxForH2Driver(max: Long): Long
    Definition Classes
    H2Compat
  8. val db: slick.jdbc.JdbcBackend.Database
  9. implicit val ec: ExecutionContext
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. 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.

    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

    Definition Classes
    DefaultReadJournalDaoReadJournalDao
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def journalSequence(offset: Long, limit: Long): Source[Long, NotUsed]

    offset

    Minimum value to retrieve

    limit

    Maximum number of values to retrieve

    returns

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

    Definition Classes
    DefaultReadJournalDaoReadJournalDao
  18. implicit val mat: Materializer
  19. def maxJournalSequence(): Future[Long]

    returns

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

    Definition Classes
    DefaultReadJournalDaoReadJournalDao
  20. 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.

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

    Definition Classes
    DefaultReadJournalDaoJournalDaoWithReadMessages
  21. 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.

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

    Definition Classes
    BaseJournalDaoWithReadMessagesJournalDaoWithReadMessages
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. val profile: JdbcProfile
    Definition Classes
    DefaultReadJournalDaoH2Compat
  26. val queries: ReadJournalQueries
  27. val readJournalConfig: ReadJournalConfig
  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from H2Compat

Inherited from ReadJournalDao

Inherited from AnyRef

Inherited from Any

Ungrouped