QueryModelSchema

class QueryModelSchema(val model: QueryModel, capabilities: Set<QueryCapability>, val definition: LogicalQuerySchema, bindings: Map<QueryPathTemplate, QueryValueBindings>, val fullProjectionAvailable: Boolean = true, approximateMetrics: Set<String> = emptySet(), val storage: StorageSupport = StorageSupport.NATIVE, val provisional: Boolean = false, val profile: QueryModelProfile? = QueryModelProfile.of(model))

Published facts only: model values and operation-specific native locations.

Constructors

Link copied to clipboard
constructor(model: QueryModel, capabilities: Set<QueryCapability>, definition: LogicalQuerySchema, bindings: Map<QueryPathTemplate, QueryValueBindings>, fullProjectionAvailable: Boolean = true, approximateMetrics: Set<String> = emptySet(), storage: StorageSupport = StorageSupport.NATIVE, provisional: Boolean = false, profile: QueryModelProfile? = QueryModelProfile.of(model))

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Whether native storage can deliver an unrestricted source projection.

Link copied to clipboard

Whether some field has an alias a query may use instead of its canonical path.

Link copied to clipboard

Whether some field's raw value must not be compared. Model-wide search then cannot be admitted: it matches every searchable field, and storage decides which fields those are.

Link copied to clipboard

The logical paths of the masked fields ({key} for a map key), in declaration order.

Link copied to clipboard
Link copied to clipboard

The record layout of model: a built-in model's, a dataset's own, or null for another custom model.

Link copied to clipboard

Compiled from QueryStorageFacts.provisional facts: the storage does not exist yet.

Link copied to clipboard
Link copied to clipboard

How the storage pages and aggregates, as its adapter declares it.

Link copied to clipboard

The content hash of what this schema states: its model, capabilities, storage support and every logical value with its native bindings and sensitivity. It is budget-free; the capability descriptor of an entry (describe) carries its own content hash, the ETag of the descriptor route.

Functions

Link copied to clipboard
Link copied to clipboard
fun supports(capability: QueryCapability): Boolean