EventStreamQueryModelProfile

Aggregated domain event streams: one record per command, typed event payloads under body[].body.

Properties

Link copied to clipboard
open override val eventTimeField: QueryField

When the record last changed: the default orderBy of FIRST and LAST metrics.

Link copied to clipboard
open override val identityField: QueryField

Unique record identity: the target of id filters and the tie-breaker of every cursor.

Link copied to clipboard
open override val payloadField: QueryField

Logical field that holds the user payload; masked fields must live below it.

Link copied to clipboard
open override val payloadTypeField: QueryField

Field that names the payload type of each record, or null when the payload is monomorphic.

Link copied to clipboard

Fields that every record of this model carries, independent of the aggregate.

Link copied to clipboard
open override val variantElement: QueryField

The element whose variants are typed payloads (an event stream's body), or null for a monomorphic payload.

Functions

Link copied to clipboard
open override fun validateProjection(projection: Projection)

An event payload is only interpretable together with its bodyType.