public final class IntervalAggregation
extends java.lang.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(java.util.List<Tag> tags,
java.util.List<IntervalAggregation.Interval> intervals)
Constructs new
IntervalAggregation. |
java.util.List<IntervalAggregation.Interval> |
getIntervals()
Sequence of intervals for this aggregation.
|
java.util.List<Tag> |
getTags()
Tags associated with this aggregation. |
public static final IntervalAggregation create(java.util.List<Tag> tags, java.util.List<IntervalAggregation.Interval> intervals)
IntervalAggregation.
TODO(dpo): Determine what we should do it intervals is empty.public final java.util.List<Tag> getTags()
Tags associated with this aggregation.
Note: The returned list is unmodifiable, attempts to update it will throw an UnsupportedOperationException.
public java.util.List<IntervalAggregation.Interval> getIntervals()