QuerySchemaContext

data class QuerySchemaContext(val namedAggregate: NamedAggregate, val model: QueryModel)

Constructors

Link copied to clipboard
constructor(namedAggregate: NamedAggregate, model: QueryModel)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun QuerySchemaContext.declaredFields(sources: List<QuerySchemaSource>, sensitivity: QuerySensitivityPolicy = QuerySensitivityPolicy.DEFAULT): Mono<Set<QueryField>>

The fields a query on this model can name as written: the system fields and the declarations of sources, merged under sensitivity into the logical model as DefaultQueryModelSchemaProvider merges them, before any storage facts. Fields under a map, whose keys are the caller's, are left out. The OpenAPI document lists them, so it agrees with the declarations the Catalog compiles; what the storage supports for each is the capability descriptor's.