AbstractQueryGateway
abstract class AbstractQueryGateway<R : Any>(val namedAggregate: NamedAggregate, backend: QueryBackend, schemaProvider: QueryModelSchemaProvider, targetType: JavaType, filters: List<QueryFilter>, filterType: KClass<*>, policies: List<QueryPolicy>, observer: QueryObserver, val entryPolicy: QueryEntryPolicy = QueryEntryPolicy.DEFAULT) : QueryGateway<R>
Inheritors
Constructors
Link copied to clipboard
constructor(namedAggregate: NamedAggregate, backend: QueryBackend, schemaProvider: QueryModelSchemaProvider, targetType: JavaType, filters: List<QueryFilter>, filterType: KClass<*>, policies: List<QueryPolicy>, observer: QueryObserver, entryPolicy: QueryEntryPolicy = QueryEntryPolicy.DEFAULT)
Properties
Link copied to clipboard
The entry policy this gateway admits every query under: the one source of each entry's budget. The default, for a gateway compiled against 9.1 that does not declare one, is QueryEntryPolicy.DEFAULT.
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun describe(entry: QueryEntry, defaultListSize: Int? = null): Mono<QueryModelDescriptor>
How this model can be queried on entry (design §7): the capability descriptor of the schema this gateway admits against, under the budget entryPolicy gives entry. defaultListSize is the list size the entry's adapter applies when a list query sends none, or null.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard