QueryFieldBinding
class QueryFieldBinding(val physicalField: QueryField<*>, storageTypes: Set<QueryStorageType>?, val physicalScope: QueryField<*>? = null, val indexed: Boolean? = null)
Where a logical field is stored for one capability. physicalScope is the physical container physicalField lies in whose elements storage indexes as separate documents, such as an Elasticsearch nested mapping, so a backend addresses the field through it; null when there is none.
indexed is the storage's fact that an index backs the field for this capability (a sort or a cursor read in index order): true when one does, false when the storage runs it without one, null when the storage does not say. It never gates a capability: a storage grants what it can run correctly, indexed or not. The descriptor publishes it, and a budget may treat an unindexed sort as expensive (me.ahoo.wow.query.admission.QueryBudget.unindexedSortExpensive).
Constructors
Link copied to clipboard
constructor(physicalField: QueryField<*>, storageTypes: Set<QueryStorageType>?, physicalScope: QueryField<*>? = null, indexed: Boolean? = null)