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)
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
the query model schema the query is admitted against.