NodeQueryApi

The node's read API, its own read side in process: a caller's queries (of) and trusted code's (trusted), which runs on the node and nowhere else (a job, a projection's rebuild, a route of the service's own); a peer reads for a caller, so a client's QueryApi has no trusted queries.

Inheritors

Functions

Link copied to clipboard
abstract fun trusted(): TrustedQueries

The queries of trusted code: no caller, so no tenant, owner or space restricts them, and no query policy that reads the caller hides a row. They keep the in-process budget unless TrustedQueries.unbounded drops it.