QueryStorageAdapter

fun interface QueryStorageAdapter

A storage's port into the Catalog (design §5.2, §5.5): it reports what its native structures (indexes, mappings, validators) prove about a logical model, and nothing else. The Catalog merges the model's sources and compiles the reported facts into a QueryModelSchema, applying every rule that does not depend on the storage.

Inheritors

Functions

Link copied to clipboard
abstract fun facts(logicalSchema: LogicalQuerySchema): Mono<QueryStorageFacts>

The storage's facts about logicalSchema, from its current native structures.

Link copied to clipboard
open fun refresh(logicalSchema: LogicalQuerySchema): Mono<QueryStorageFacts>

The storage's facts about logicalSchema, reloading native structures it caches.