public class InternalMetricQuery extends AbstractModel
Constructor and Description |
---|
InternalMetricQuery() |
InternalMetricQuery(InternalMetricQuery source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getAggregation()
Get 聚合函数
|
Filter[] |
getFilters()
Get 指标过滤
|
String[] |
getGroupBy()
Get 指标分组
|
Label[] |
getLabels()
Get deprecated, 请使用Filters
|
String |
getMetric()
Get 指标名
|
void |
setAggregation(String Aggregation)
Set 聚合函数
|
void |
setFilters(Filter[] Filters)
Set 指标过滤
|
void |
setGroupBy(String[] GroupBy)
Set 指标分组
|
void |
setLabels(Label[] Labels)
Set deprecated, 请使用Filters
|
void |
setMetric(String Metric)
Set 指标名
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public InternalMetricQuery()
public InternalMetricQuery(InternalMetricQuery source)
public String getMetric()
public void setMetric(String Metric)
Metric
- 指标名public String getAggregation()
public void setAggregation(String Aggregation)
Aggregation
- 聚合函数public Label[] getLabels()
public void setLabels(Label[] Labels)
Labels
- deprecated, 请使用Filterspublic Filter[] getFilters()
public void setFilters(Filter[] Filters)
Filters
- 指标过滤public String[] getGroupBy()
public void setGroupBy(String[] GroupBy)
GroupBy
- 指标分组Copyright © 2022. All rights reserved.