IndexMetrics
public struct IndexMetrics
A structure that represents metrics for an index, providing insights into its usage and value distribution.
- Properties:
accessCount
: The number of times the index has been accessed. Defaults to0
.lastAccess
: The date and time when the index was last accessed. Defaults to.distantPast
.valueDistribution
: A dictionary that tracks the distribution of values associated with the index, where the keys are the values and the values are their respective counts. Defaults to an empty dictionary.
-
Undocumented
Declaration
Swift
public var accessCount: Int
-
Undocumented
Declaration
Swift
public var lastAccess: Date
-
Undocumented
Declaration
Swift
public var valueDistribution: [AnyHashable : Int]