InMemoryDatasetStorage
The in-memory reference dataset storage: tables of rows, each row a record with its fields at the root, and the InMemoryQueryBackend of each dataset bound to one, which passes DatasetQueryBackendSpec (the :query test fixtures). A dataset names its table in its storage binding, {"table": "<name>"} (binding).
It also holds the current access record of each aggregate (putAccess), as the ClickHouse Sink's _state does: a dataset bound to an aggregate (me.ahoo.wow.query.dataset.QueryDatasetAccess) reads each row by the record of its aggregate, the one of the row's tenant (a tenantless dataset's, Caller.DEFAULT_TENANT) and of the id its id column holds (me.ahoo.wow.query.dataset.DatasetAccess); a row whose aggregate has none matches no access restriction.
It knows the source of each of its tables (QueryDatasetSources): one that holds no value a state marks sensitive, unless protect says which of its columns do, or the sources it is given tell them, as a host's test gives it the ClickHouse backend's own reading of the Sink's tables.
delay holds every primitive back that long before it answers, as InMemoryQueryStorage does.
Functions
Records the access attributes of aggregate's aggregateId in tenantId after its commit of version (a stream's, the built-in owner and space among them; null for a commit that recorded none), unless a later version is recorded: the newest commit's are the aggregate's current ones, as the Sink's _state replaces its rows by version.
The source of the table dataset reads; null when this backend cannot tell what the table holds.