ModelQueries

The queries of an aggregate's model, its rows typed, with the same queries returning the rows as stored.

Wow implements it and an application calls it: implementing it needs an opt-in to InternalWowApi, which an application does not give, so members may be added in a minor release.

Inheritors

Properties

Link copied to clipboard
abstract val type: AggregateType

The aggregate type these queries read.

Functions

Link copied to clipboard
abstract fun <T : Any> dynamic(rowType: Class<T>): RowQueries<T>

The same queries with each row decoded as rowType rather than typed: for a projection, which leaves out fields a typed row needs, or a reader that walks the record as stored (ObjectNode).

Link copied to clipboard
inline fun <reified T : Any> ModelQueries<*>.dynamic(): RowQueries<T>

These queries with each row decoded as T; see ModelQueries.dynamic.