QueryContext

class QueryContext<Q : RewritableFilter<Q>> @InternalWowApi constructor(val query: Q, val aggregateType: AggregateType, val schema: QueryModelSchema, val queryType: QueryType, val entry: QueryEntry)

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

Type Parameters

Q

the query type.

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

the aggregate type queried.

Link copied to clipboard

where the query came from, as its caller states.

Link copied to clipboard

The model queried (snapshot, events, dataset), all a policy reads of the schema.

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.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String