AggregationResultGroupedByDuration


class AggregationResultGroupedByDuration


Contains an aggregation result within a duration slice.

Summary

Public functions

open operator Boolean
equals(other: Any?)
open Int
open String

Public properties

Instant

end time of the slice.

AggregationResult

contains AggregationResult with metrics included in the request.

Instant

start time of the slice.

ZoneOffset

zoneOffset of underlying record within the slice.

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

endTime

Added in 1.1.0-alpha12
val endTimeInstant

end time of the slice.

result

Added in 1.1.0-alpha12
val resultAggregationResult

contains AggregationResult with metrics included in the request.

startTime

Added in 1.1.0-alpha12
val startTimeInstant

start time of the slice.

zoneOffset

Added in 1.1.0-alpha12
val zoneOffsetZoneOffset

zoneOffset of underlying record within the slice. If underlying records have mixed ZoneOffset, the first one is returned. Use this to render result in user local time and handle scenarios involving Day Light Savings, such as "hourly steps on a given date".