HttpQueries
The query models the public routes serve, by aggregate type: the snapshots of each aggregate a snapshot query backend serves, and the events of each aggregate an events backend serves, every one a QueryGateway on the one engine. A model of the Manifest without one here has no route: a request for it is the context's 404.
The datasets are served under /wow/dataset/{context}/{dataset}/query, each by its gateway as it is when the request comes: a dataset that joins or leaves while the node runs is served or not from then on. datasetVisibility decides which of them a caller sees, in GET /wow/dataset and on its routes.
defaultListSize is the limit a list query that names none runs with over HTTP (a limit below 1 is refused as the body is read), at most the HTTP budget's maxListSize; 0 gives no default, so such a query reads every match where the budget allows it. It is also the size of a cursor page that names none, at most the budget's maxPageSize, which a page takes when 0 gives no default (me.ahoo.wow.query.admission.QueryBudget.cursorDefault).
snapshotStatus tells whether an aggregate type's snapshots are being rebuilt or backfilled: its snapshot query and descriptor then answer with Wow-Rebuilding: true.
policies are the gateways that admit the states of each aggregate type whose snapshots are not queried while query policies may hide one (me.ahoo.wow.query.state.SnapshotPolicyGateway); no route serves them, and a state read sees a state as visibility says. reads is the read path of the state reads (ReadFacade), the QueryEngine's when it comes from one (of). streams is how a list streams as server-sent events.
access are the access policies of the aggregates that have one, whose state reads check no owner or space of their own: the policy decides them (AccessPolicies.governs).
crossTenant is whether a caller that may act across scopes may query across tenants (wow.query.allow-cross-tenant, off by default): Wow-Scope: tenant=* or tenant=("t1" "t2") on a query route, answered 403 wow.auth.forbidden while it is off.
Constructors
Properties
Whether this service shares the raw value of its @Sensitive(DISPLAY) fields with a peer that asks (Wow-Reveal, wow.query.sensitivity.display-shared): on by default, a call between services being trusted. Off, every peer read that asks is refused (403), whatever service it names: a control that does not depend on who asks, where a list keyed on a peer's self-declared name would be none. It has no default, so no construction shares what the operator turned off by leaving it out.
Functions
The events query gateway of type, or null when no backend serves its events.
The snapshot query gateway of type, or null when no backend serves its snapshots.
The gateway whose policies decide which of type's states a caller sees (me.ahoo.wow.query.state.StateVisibility): its snapshot query gateway, else its snapshot policy gateway; null when no policy applies to it.