DefaultQueryModelSchemaProvider
class DefaultQueryModelSchemaProvider(context: QuerySchemaContext, sources: List<QuerySchemaSource>, adapter: QueryStorageAdapter, sensitivity: QuerySensitivityPolicy = QuerySensitivityPolicy.DEFAULT) : QueryModelSchemaProvider
The Catalog's compilation of one aggregate model (design §5.2): merges the declarations of sources into the logical model under sensitivity, asks the storage adapter for its facts about it, and compiles them into the published QueryModelSchema. The first load is shared by concurrent callers; a refresh reloads the sources and the storage's native structures and replaces the published schema only when it compiles.
Constructors
Link copied to clipboard
constructor(context: QuerySchemaContext, sources: List<QuerySchemaSource>, adapter: QueryStorageAdapter, sensitivity: QuerySensitivityPolicy = QuerySensitivityPolicy.DEFAULT)