Package com.opencqrs.esdb.client
Interface Marshaller.QueryResponseElement
- All Known Implementing Classes:
Marshaller.QueryResponseElement.Error
,Marshaller.QueryResponseElement.Row
- Enclosing interface:
Marshaller
public static sealed interface Marshaller.QueryResponseElement
permits Marshaller.QueryResponseElement.Row, Marshaller.QueryResponseElement.Error
Sealed interface representing a deserialized ND-JSON response line transformed via
Marshaller.fromQueryResponseLine(String)
.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final record
Represents anerror
returned from the event store, typically caused by an invalid query or missing data in the result set.static final record
Represents arow
returned from the event store, which may be processed by the deferredBiConsumer
.