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; null when there is none.

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; null when the model declares none, which rejects both.

Link copied to clipboard
open override val payloadField: QueryField

Logical field that holds the user payload; masked fields and schema extensions must live below it. null when the whole record is payload, as in a dataset.

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.