程序包 com.cnosdb.dto
类 Point
java.lang.Object
com.cnosdb.dto.Point
Representation of a CnosDB database Point.
- 作者:
- stefan.majer [at] gmail.com
-
嵌套类概要
嵌套类 -
方法概要
修饰符和类型方法说明booleaninthashCode()Calculate the lineprotocol entry for a single Point.lineProtocol(TimeUnit precision) Calculate the lineprotocol entry for a single point, using a specificTimeUnitfor the timestamp.static Point.Buildermeasurement(String measurement) Create a new Point Build build to create a new Point in a fluent manner.static Point.BuildermeasurementByPOJO(Class<?> clazz) Create a new Point Build build to create a new Point in a fluent manner from a POJO.toString()
-
方法详细资料
-
measurement
Create a new Point Build build to create a new Point in a fluent manner.- 参数:
measurement- the name of the measurement.- 返回:
- the Builder to be able to add further Builder calls.
-
measurementByPOJO
Create a new Point Build build to create a new Point in a fluent manner from a POJO.- 参数:
clazz- Class of the POJO- 返回:
- the Builder instance
-
equals
-
hashCode
public int hashCode() -
toString
-
lineProtocol
Calculate the lineprotocol entry for a single Point.NaN and infinity values are silently dropped as they are unsupported: https://github.com/influxdata/influxdb/issues/4089
- 返回:
- the String without newLine, empty when there are no fields to write
- 另请参阅:
-
lineProtocol
Calculate the lineprotocol entry for a single point, using a specificTimeUnitfor the timestamp.NaN and infinity values are silently dropped as they are unsupported: https://github.com/influxdata/influxdb/issues/4089
- 参数:
precision- the time precision unit for this point- 返回:
- the String without newLine, empty when there are no fields to write
- 另请参阅:
-