QueryContext

data class QueryContext<Q : RewritableFilter<Q>>(val query: Q, val namedAggregate: NamedAggregate, val schema: QueryModelSchema, val queryType: QueryType, val entry: QueryEntry)

What a QueryFilter or me.ahoo.wow.query.QueryPolicy sees of the query being admitted.

Type Parameters

Q

the query type.

Constructors

Link copied to clipboard
constructor(query: Q, namedAggregate: NamedAggregate, schema: QueryModelSchema, queryType: QueryType, entry: QueryEntry)

Properties

Link copied to clipboard

where the query came from, read once when it was subscribed.

Link copied to clipboard

the aggregate queried.

Link copied to clipboard
val query: Q

the query, after the filters before this one rewrote it.

Link copied to clipboard

the gateway operation (single, list, paged, cursor, count or aggregation).

Link copied to clipboard

the query model schema the query is admitted against.