Key
class Key @InternalWowApi constructor(val field: QueryField<*>, val physicalField: QueryField<*>, val storageTypes: Set<QueryStorageType>?, val cardinality: QueryCardinality?)
One key of an index: the logical field the declaration names, the physicalField the storage keeps it at for a sort, a range or an exact match (in that order of preference), its native storageTypes there (null when the storage does not know them), and whether it holds one value per record or many (cardinality, null when unknown).
Constructors
Link copied to clipboard
constructor(field: QueryField<*>, physicalField: QueryField<*>, storageTypes: Set<QueryStorageType>?, cardinality: QueryCardinality?)