public class QueryRangeMetricRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
QueryRangeMetricRequest() |
QueryRangeMetricRequest(QueryRangeMetricRequest 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 |
---|---|
Long |
getEnd()
Get 查询结束时间,秒级Unix时间戳
|
String |
getQuery()
Get 查询语句,使用PromQL语法
|
Long |
getStart()
Get 查询起始时间,秒级Unix时间戳
|
Long |
getStep()
Get 查询时间间隔,单位秒
|
String |
getTopicId()
Get 指标主题ID
|
void |
setEnd(Long End)
Set 查询结束时间,秒级Unix时间戳
|
void |
setQuery(String Query)
Set 查询语句,使用PromQL语法
|
void |
setStart(Long Start)
Set 查询起始时间,秒级Unix时间戳
|
void |
setStep(Long Step)
Set 查询时间间隔,单位秒
|
void |
setTopicId(String TopicId)
Set 指标主题ID
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public QueryRangeMetricRequest()
public QueryRangeMetricRequest(QueryRangeMetricRequest source)
public String getTopicId()
public void setTopicId(String TopicId)
TopicId
- 指标主题IDpublic String getQuery()
public void setQuery(String Query)
Query
- 查询语句,使用PromQL语法public Long getStart()
public void setStart(Long Start)
Start
- 查询起始时间,秒级Unix时间戳public Long getEnd()
public void setEnd(Long End)
End
- 查询结束时间,秒级Unix时间戳public Long getStep()
public void setStep(Long Step)
Step
- 查询时间间隔,单位秒Copyright © 2024. All rights reserved.