Timeslice

public struct Timeslice : Codable, Equatable

Timeslice.

Enums with an associated value of Timeslice: QueryAggregation

  • The type of aggregation command used. For example: term, filter, max, min, etc.

    Declaration

    Swift

    public var type: String?
  • Array of aggregation results.

    Declaration

    Swift

    public var results: [AggregationResult]?
  • Number of matching results.

    Declaration

    Swift

    public var matchingResults: Int?
  • Aggregations returned by Discovery.

    Declaration

    Swift

    public var aggregations: [QueryAggregation]?
  • The field where the aggregation is located in the document.

    Declaration

    Swift

    public var field: String?
  • Interval of the aggregation. Valid date interval values are second/seconds minute/minutes, hour/hours, day/days, week/weeks, month/months, and year/years.

    Declaration

    Swift

    public var interval: String?
  • Used to indicate that anomaly detection should be performed. Anomaly detection is used to locate unusual datapoints within a time series.

    Declaration

    Swift

    public var anomaly: Bool?