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
参数:
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
参数:
point - point