public final class IntervalAggregation extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
IntervalAggregation.Interval
Summary statistic over a single time interval.
|
| Modifier and Type | Method and Description |
|---|---|
static IntervalAggregation |
create(List<Tag> tags,
List<IntervalAggregation.Interval> intervals)
Constructs new
IntervalAggregation. |
List<IntervalAggregation.Interval> |
getIntervals()
Sequence of intervals for this aggregation.
|
List<Tag> |
getTags()
Tags associated with this aggregation. |
public static final IntervalAggregation create(List<Tag> tags, List<IntervalAggregation.Interval> intervals)
IntervalAggregation.
TODO(dpo): Determine what we should do it intervals is empty.public final List<Tag> getTags()
Tags associated with this aggregation.
Note: The returned list is unmodifiable, attempts to update it will throw an UnsupportedOperationException.
public List<IntervalAggregation.Interval> getIntervals()