Package-level declarations

Types

Link copied to clipboard
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.

Link copied to clipboard

Rewrites a request before mandatory scope and query policy conditions are appended.

Link copied to clipboard
enum class QueryType : Enum<QueryType>

What a query or a read asks: the gateway operations, and the state point reads an entry runs through me.ahoo.wow.query.engine.ReadFacade, observed and audited as queries are: STATE, an aggregate's state (its latest, at a version or as of a time), and TRACE, its commits. DESCRIBE reads a model's descriptor (its fields, operators and budget, the GET of its query route), which a read authorizer is asked about as about a query; it runs no query, so nothing observes or audits it.

Functions

Link copied to clipboard

The field a predicate names, or null for filters that name none (logical, system-field, match-all/none and search filters, whose fields are a set). Pairs with me.ahoo.wow.query.spec.FilterOperatorSpec: the spec says what the operator needs, FieldPredicate says where the node keeps its field.