@Immutable public abstract class ViewData extends Object
View
.Modifier and Type | Class and Description |
---|---|
static class |
ViewData.AggregationWindowData
Deprecated.
since 0.13, please use start and end
Timestamp instead. |
Modifier and Type | Method and Description |
---|---|
static ViewData |
create(View view,
Map<? extends List<TagValue>,? extends AggregationData> map,
Timestamp start,
Timestamp end)
Constructs a new
ViewData . |
static ViewData |
create(View view,
Map<? extends List<TagValue>,? extends AggregationData> map,
ViewData.AggregationWindowData windowData)
Deprecated.
in favor of
create(View, Map, Timestamp, Timestamp) . |
abstract Map<List<TagValue>,AggregationData> |
getAggregationMap()
The
AggregationData grouped by combination of tag values, associated with this ViewData . |
abstract Timestamp |
getEnd()
Returns the end
Timestamp for a ViewData . |
abstract Timestamp |
getStart()
Returns the start
Timestamp for a ViewData . |
abstract View |
getView()
|
abstract ViewData.AggregationWindowData |
getWindowData()
Deprecated.
in favor of
getStart() and getEnd() . |
public abstract View getView()
public abstract Map<List<TagValue>,AggregationData> getAggregationMap()
AggregationData
grouped by combination of tag values, associated with this ViewData
.@Deprecated public abstract ViewData.AggregationWindowData getWindowData()
getStart()
and getEnd()
.ViewData.AggregationWindowData
associated with this ViewData
.
ViewData.AggregationWindowData
is deprecated since 0.13, please avoid using this method. Use
getStart()
and getEnd()
instead.
AggregationWindowData
.public abstract Timestamp getStart()
Timestamp
for a ViewData
.Timestamp
.public abstract Timestamp getEnd()
Timestamp
for a ViewData
.Timestamp
.@Deprecated public static ViewData create(View view, Map<? extends List<TagValue>,? extends AggregationData> map, ViewData.AggregationWindowData windowData)
create(View, Map, Timestamp, Timestamp)
.ViewData
.view
- the View
associated with this ViewData
.map
- the mapping from TagValue
list to AggregationData
.windowData
- the ViewData.AggregationWindowData
.ViewData
.IllegalArgumentException
- if the types of Aggregation
and AggregationData
don't match, or the types of Window
and WindowData
don't
match.public static ViewData create(View view, Map<? extends List<TagValue>,? extends AggregationData> map, Timestamp start, Timestamp end)
ViewData
.view
- the View
associated with this ViewData
.map
- the mapping from TagValue
list to AggregationData
.start
- the start Timestamp
for this ViewData
.end
- the end Timestamp
for this ViewData
.ViewData
.IllegalArgumentException
- if the types of Aggregation
and AggregationData
don't match.