InProcessQueryApi
The node's QueryApi: a thin layer over the engine's gateways and read facade, so a query asked in process is admitted, scoped, hidden, bulkheaded, budgeted and resumed as the same query over the public port is; only the rows differ, decoded as the models' classes rather than written as JSON.
of a caller queries as that caller on QueryEntry.IN_PROCESS: the scope policy restricts it to the tenant the engine's QueryEngine.tenants gives it (a type's fixed tenant, else the caller's) and to its owner and space, the application's policies see its attributes; the in-process budget (the engine's me.ahoo.wow.query.policy.QueryEntryPolicy.inProcess) bounds it.
trusted code queries with no caller on the same entry and budget, TrustedQueries.unbounded on QueryEntry.UNBOUNDED without the budget.
A
listthat names no limit runs with the budget's list default (defaultListSize, at most its list size), as over HTTP; astreamreads keyset chunks of chunkSize.A state read (SnapshotQueries.state) reads latest through the engine's ReadFacade: the caller's scope is checked against the state's (its owner only for an aggregate QueryEngine.ownerships says belongs to its owner), then the snapshot policies of its type, and it is masked and observed as the public port's state read is.
Constructors
Functions
The queries of a subscription handler of a commit of tenantId: trusted code whose authenticated scope pins tenantId, so it reads that whole tenant and no other, and SubscriptionQueries.trusted for the rest. A type whose tenant is fixed to another one shows such queries nothing.