QueryTimesliceAggregationResult

public struct QueryTimesliceAggregationResult : Codable, Equatable

A timeslice interval segment.

  • String date value of the upper bound for the timeslice interval in ISO-8601 format.

    Declaration

    Swift

    public var keyAsString: String
  • key

    Numeric date value of the upper bound for the timeslice interval in UNIX milliseconds since epoch.

    Declaration

    Swift

    public var key: Int
  • Number of documents with the specified key as the upper bound.

    Declaration

    Swift

    public var matchingResults: Int
  • An array of sub-aggregations.

    Declaration

    Swift

    public var aggregations: [QueryAggregation]?