AggregationResultGroupedByDuration


class AggregationResultGroupedByDuration


Contains an aggregation result within a duration slice.

Summary

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 properties

endTime

Added in 1.1.0-alpha10
val endTimeInstant

end time of the slice.

result

Added in 1.1.0-alpha10
val resultAggregationResult

contains AggregationResult with metrics included in the request.

startTime

Added in 1.1.0-alpha10
val startTimeInstant

start time of the slice.

zoneOffset

Added in 1.1.0-alpha10
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".