Class/Object

com.github.j5ik2o.akka.persistence.dynamodb.query.scaladsl

DynamoDBReadJournal

Related Docs: object DynamoDBReadJournal | package scaladsl

Permalink

class DynamoDBReadJournal extends ReadJournal with CurrentPersistenceIdsQuery with PersistenceIdsQuery with CurrentEventsByPersistenceIdQuery with EventsByPersistenceIdQuery with CurrentEventsByTagQuery with EventsByTagQuery

Linear Supertypes
EventsByTagQuery, CurrentEventsByTagQuery, EventsByPersistenceIdQuery, CurrentEventsByPersistenceIdQuery, PersistenceIdsQuery, CurrentPersistenceIdsQuery, ReadJournal, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DynamoDBReadJournal
  2. EventsByTagQuery
  3. CurrentEventsByTagQuery
  4. EventsByPersistenceIdQuery
  5. CurrentEventsByPersistenceIdQuery
  6. PersistenceIdsQuery
  7. CurrentPersistenceIdsQuery
  8. ReadJournal
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DynamoDBReadJournal(config: Config, configPath: String)(implicit system: ExtendedActorSystem)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val asyncClient: DynamoDbAsyncClient

    Permalink
    Attributes
    protected
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  7. def currentEventsByPersistenceId(persistenceId: String, fromSequenceNr: Long, toSequenceNr: Long): Source[EventEnvelope, NotUsed]

    Permalink
    Definition Classes
    DynamoDBReadJournal → CurrentEventsByPersistenceIdQuery
  8. def currentEventsByTag(tag: String, offset: Long): Source[EventEnvelope, NotUsed]

    Permalink
  9. def currentEventsByTag(tag: String, offset: Offset): Source[EventEnvelope, NotUsed]

    Permalink

    Same type of query as EventsByTagQuery#eventsByTag but the event stream is completed immediately when it reaches the end of the "result set".

    Same type of query as EventsByTagQuery#eventsByTag but the event stream is completed immediately when it reaches the end of the "result set". Events that are stored after the query is completed are not included in the event stream.

    akka-persistence-jdbc has implemented this feature by using a LIKE %tag% query on the tags column. A consequence of this is that tag names must be chosen wisely: for example when querying the tag User, events with the tag UserEmail will also be returned (since User is a substring of UserEmail).

    The returned event stream is ordered by offset.

    Definition Classes
    DynamoDBReadJournal → CurrentEventsByTagQuery
  10. def currentPersistenceIds(): Source[String, NotUsed]

    Permalink
    Definition Classes
    DynamoDBReadJournal → CurrentPersistenceIdsQuery
  11. implicit val ec: ExecutionContext

    Permalink
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def eventsByPersistenceId(persistenceId: String, fromSequenceNr: Long, toSequenceNr: Long): Source[EventEnvelope, NotUsed]

    Permalink
    Definition Classes
    DynamoDBReadJournal → EventsByPersistenceIdQuery
  15. def eventsByTag(tag: String, offset: Long): Source[EventEnvelope, NotUsed]

    Permalink
  16. def eventsByTag(tag: String, offset: Offset): Source[EventEnvelope, NotUsed]

    Permalink

    Query events that have a specific tag.

    Query events that have a specific tag.

    akka-persistence-jdbc has implemented this feature by using a LIKE %tag% query on the tags column. A consequence of this is that tag names must be chosen wisely: for example when querying the tag User, events with the tag UserEmail will also be returned (since User is a substring of UserEmail).

    The consumer can keep track of its current position in the event stream by storing the offset and restart the query from a given offset after a crash/restart.

    For akka-persistence-jdbc the offset corresponds to the ordering column in the Journal table. The ordering is a sequential id number that uniquely identifies the position of each event within the event stream.

    The returned event stream is ordered by offset.

    The stream is not completed when it reaches the end of the currently stored events, but it continues to push new events when new events are persisted. Corresponding query that is completed when it reaches the end of the currently stored events is provided by CurrentEventsByTagQuery#currentEventsByTag.

    Definition Classes
    DynamoDBReadJournal → EventsByTagQuery
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. val javaAsyncClient: DynamoDbAsyncClient

    Permalink
    Attributes
    protected
  21. val journalSequenceRetrievalConfig: JournalSequenceRetrievalConfig

    Permalink
    Attributes
    protected
  22. implicit val mat: ActorMaterializer

    Permalink
  23. val metricsReporter: MetricsReporter

    Permalink
  24. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  26. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  27. def persistenceIds(): Source[String, NotUsed]

    Permalink
    Definition Classes
    DynamoDBReadJournal → PersistenceIdsQuery
  28. val pluginConfig: QueryPluginConfig

    Permalink
    Attributes
    protected
  29. val streamClient: DynamoDbAkkaClient

    Permalink
    Attributes
    protected
  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  31. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  32. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from EventsByTagQuery

Inherited from CurrentEventsByTagQuery

Inherited from EventsByPersistenceIdQuery

Inherited from CurrentEventsByPersistenceIdQuery

Inherited from PersistenceIdsQuery

Inherited from CurrentPersistenceIdsQuery

Inherited from ReadJournal

Inherited from AnyRef

Inherited from Any

Ungrouped