trait ReadJournalProvider extends AnyRef
A query plugin must implement a class that implements this trait. It provides the concrete implementations for the Java and Scala APIs.
A read journal plugin must provide implementations for both
org.apache.pekko.persistence.query.scaladsl.ReadJournal
and org.apache.pekko.persistence.query.javadsl.ReadJournal
.
The plugin must implement both the scaladsl
and the javadsl
traits because the
org.apache.pekko.stream.scaladsl.Source
and org.apache.pekko.stream.javadsl.Source
are different types
and even though those types can easily be converted to each other it is most convenient
for the end user to get access to the Java or Scala Source
directly.
One of the implementations can delegate to the other.
- Alphabetic
- By Inheritance
- ReadJournalProvider
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def javadslReadJournal(): ReadJournal
The
ReadJournal
implementation for the Java API.The
ReadJournal
implementation for the Java API. This corresponds to the instance that is returned by PersistenceQuery#getReadJournalFor. - abstract def scaladslReadJournal(): ReadJournal
The
ReadJournal
implementation for the Scala API.The
ReadJournal
implementation for the Scala API. This corresponds to the instance that is returned by PersistenceQuery#readJournalFor.
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from ReadJournalProvider toany2stringadd[ReadJournalProvider] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (ReadJournalProvider, B)
- Implicit
- This member is added by an implicit conversion from ReadJournalProvider toArrowAssoc[ReadJournalProvider] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- def ensuring(cond: (ReadJournalProvider) => Boolean, msg: => Any): ReadJournalProvider
- Implicit
- This member is added by an implicit conversion from ReadJournalProvider toEnsuring[ReadJournalProvider] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (ReadJournalProvider) => Boolean): ReadJournalProvider
- Implicit
- This member is added by an implicit conversion from ReadJournalProvider toEnsuring[ReadJournalProvider] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): ReadJournalProvider
- Implicit
- This member is added by an implicit conversion from ReadJournalProvider toEnsuring[ReadJournalProvider] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): ReadJournalProvider
- Implicit
- This member is added by an implicit conversion from ReadJournalProvider toEnsuring[ReadJournalProvider] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from ReadJournalProvider toStringFormat[ReadJournalProvider] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- def →[B](y: B): (ReadJournalProvider, B)
- Implicit
- This member is added by an implicit conversion from ReadJournalProvider toArrowAssoc[ReadJournalProvider] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.