Package com.opencqrs.esdb.client
Interface Option
- All Known Implementing Classes:
Option.FromLatestEvent
,Option.LowerBoundExclusive
,Option.LowerBoundInclusive
,Option.Order
,Option.Recursive
,Option.UpperBoundExclusive
,Option.UpperBoundInclusive
public sealed interface Option
permits Option.Recursive, Option.Order, Option.LowerBoundInclusive, Option.LowerBoundExclusive, Option.UpperBoundInclusive, Option.UpperBoundExclusive, Option.FromLatestEvent
Sealed interface for options used by
EsdbClient
to read or observe events from the underlying event store.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final record
Specifies that the list of events is optimized by omitting any event prior to the latest event available for the subject specified as part ofthis
.static final record
Specifies the lowest exclusive event id to fetch from.static final record
Specifies the lowest inclusive event id to fetch from.static final record
Encapsulates the type of ordering of the fetched events.static final record
Specifies that events shall be fetched recursively, that is including the requested subject (events) and its hierarchical subject (events).static final record
Specifies the highest exclusive event id to fetch to.static final record
Specifies the highest inclusive event id to fetch to.