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 recordSpecifies 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 recordSpecifies the lowest exclusive event id to fetch from.static final recordSpecifies the lowest inclusive event id to fetch from.static final recordEncapsulates the type of ordering of the fetched events.static final recordSpecifies that events shall be fetched recursively, that is including the requested subject (events) and its hierarchical subject (events).static final recordSpecifies the highest exclusive event id to fetch to.static final recordSpecifies the highest inclusive event id to fetch to.