The documentation or JavaDoc of InfluxDBClient
should document the existence of NanosecondConverter
#222
Labels
bug
Something isn't working
Specifications
1.0.0
quay.io/influxdb/influxdb3-core:911ba92ab4133e75fe2a420e16ed9cb4cf32196f
InfluxDB 3 Core
Code sample to reproduce problem
com.influxdb.v3.client.InfluxDBClient
should document the existence ofcom.influxdb.v3.client.internal.NanosecondConverter
.SDKMAN!
andDocker CE
.java.time.Instant
. Because the documentation requires usingcom.influxdb.v3.client.Point#setTimestamp(java.time.Instant)
.com.influxdb.v3.client.PointValues#setTimestamp(java.time.Instant)
converts thejava.time.Instant
to ajava.math.BigInteger
which the user does not know in advance viacom.influxdb.v3.client.internal.NanosecondConverter.convert(time, WritePrecision.NS)
.select time,location,value from home order by time desc limit 10
, the user gets a string like1738913940774821921
instead of ajava.time.Instant
class instance. This makes it difficult to designhamcrest
assertions in unit tests without usingcom.influxdb.v3.client.internal.NanosecondConverter
.com.influxdb.v3.client.internal.NanosecondConverter
.Expected behavior
com.influxdb.v3.client.InfluxDBClient
should document the existence ofcom.influxdb.v3.client.internal.NanosecondConverter
.Actual behavior
com.influxdb.v3.client.internal.NanosecondConverter
is not documented in the documentation or the JavaDoc ofcom.influxdb.v3.client.InfluxDBClient
.Additional info
The text was updated successfully, but these errors were encountered: