SnapshotQueryModelProfile

Materialized aggregate snapshots: one record per aggregate, payload under state.

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 firstEventTimeField: QueryField

When the record's aggregate got its first event, or null when a record does not say.

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

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

Functions

Link copied to clipboard
open override fun defaultScope(filter: FilterExpression): FilterExpression

Snapshot queries see active aggregates unless the filter selects a deletion state itself.