Uses of Class
com.influxdb.v3.client.write.WritePrecision
-
Packages that use WritePrecision Package Description com.influxdb.v3.client.config com.influxdb.v3.client.internal com.influxdb.v3.client.write -
-
Uses of WritePrecision in com.influxdb.v3.client.config
Methods in com.influxdb.v3.client.config that return WritePrecision Modifier and Type Method Description WritePrecision
ClientConfig. getWritePrecision()
Gets the default precision to use for the timestamp of points.Methods in com.influxdb.v3.client.config with parameters of type WritePrecision Modifier and Type Method Description ClientConfig.Builder
ClientConfig.Builder. writePrecision(WritePrecision writePrecision)
Sets the default precision to use for the timestamp of points if no precision is specified in the write API call. -
Uses of WritePrecision in com.influxdb.v3.client.internal
Methods in com.influxdb.v3.client.internal with parameters of type WritePrecision Modifier and Type Method Description static BigInteger
NanosecondConverter. convert(Instant instant, WritePrecision precision)
ConvertInstant
timestamp to a given precision.static BigInteger
NanosecondConverter. convertToNanos(Number timestamp, WritePrecision precision)
Convert timestamp in a given precision to nanoseconds. -
Uses of WritePrecision in com.influxdb.v3.client.write
Fields in com.influxdb.v3.client.write declared as WritePrecision Modifier and Type Field Description static WritePrecision
WriteOptions. DEFAULT_WRITE_PRECISION
Default WritePrecision.Methods in com.influxdb.v3.client.write that return WritePrecision Modifier and Type Method Description WritePrecision
WriteOptions. precisionSafe(ClientConfig config)
static WritePrecision
WritePrecision. valueOf(String name)
Returns the enum constant of this type with the specified name.static WritePrecision[]
WritePrecision. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.influxdb.v3.client.write with parameters of type WritePrecision Modifier and Type Method Description WriteOptions.Builder
WriteOptions.Builder. precision(WritePrecision precision)
Sets the precision.Point
Point. setTimestamp(Long time, WritePrecision precision)
Updates the timestamp for the point.Point
Point. setTimestamp(Number time, WritePrecision precision)
Updates the timestamp for the point.String
Point. toLineProtocol(WritePrecision precision)
Transform to Line Protocol.Constructors in com.influxdb.v3.client.write with parameters of type WritePrecision Constructor Description WriteOptions(String database, WritePrecision precision, Integer gzipThreshold)
Construct WriteAPI options.
-