Interface Option

All Known Implementing Classes:
Option.FromLatestEvent, Option.LowerBoundExclusive, Option.LowerBoundInclusive, Option.Order, Option.Recursive, Option.UpperBoundExclusive, Option.UpperBoundInclusive

Sealed interface for options used by EsdbClient to read or observe events from the underlying event store.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static 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 of this.
    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.