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 Classes
    Modifier and Type
    Interface
    Description
    static final record 
    Represents an error returned from the event store, typically caused by an invalid query or missing data in the result set.
    static final record 
    Represents a row returned from the event store, which may be processed by the deferred BiConsumer.