Point
本文介紹Point方法。
java.lang.Object
com.aliyun.hitsdb.client.value.JSONValue
com.aliyun.hitsdb.client.value.request.Point
嵌套類概要
限定符和類型 | 類和說明 |
---|---|
|
|
構造器概要
構造器和說明 |
---|
|
方法概要
限定符和類型 | 方法和說明 |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
從類繼承的方法 com.aliyun.hitsdb.client.value.JSONValue
appendJSON , parseObject , toString
從類繼承的方法 java.lang.Object
clone, equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait
構造器詳細資料
Point
public Point()
方法詳細資料
metric
public static Point.MetricBuilder metric(String metric)
set the metric
參數(shù):
metric
- metric
返回:
MetricBuilder get a builder
getMetric
public String getMetric()
getTags
public Map<String,String> getTags()
getTimestamp
public Long getTimestamp()
getValue
public Number getValue()
getAggregator
public String getAggregator()
getGranularityType
public Granularity getGranularityType()
getGranularity
public String getGranularity()
setMetric
public void setMetric(String metric)
setTags
public void setTags(Map<String,String> tags)
setTimestamp
public void setTimestamp(Long timestamp)
setValue
public void setValue(Number value)
setGranularity
public void setGranularity(String granularity)
setAggregator
public void setAggregator(String aggregator)
getVersion
public Long getVersion()
setVersion
public void setVersion(Long version)
toJSON
public String toJSON()
覆蓋:
toJSON
在類中 JSONValue
checkPoint
public static void checkPoint(Point point)
Checkout the point format
參數(shù):
point
- point