4040 * <ul>
4141 * <li><code>database</code> - specifies the database to be used for InfluxDB operations</li>
4242 * <li><code>organization</code> - specifies the organization to be used for InfluxDB operations</li>
43- * <li><code>precision</code> - specifies the precision to use for the timestamp of points</li>
43+ * <li><code>precision</code> - specifies the precision to use for timestamps in line protocol records.
44+ * This setting is ignored when writing {@link com.influxdb.v3.client.Point}; for those writes, the client
45+ * always sends {@link WritePrecision#NS} precision to the server.</li>
4446 * <li><code>defaultTags</code> - specifies tags to be added by default to all write operations using points.</li>
4547 * <li><code>tagOrder</code> - specifies preferred tag order for point serialization.</li>
4648 * <li><code>noSync</code> - skip waiting for WAL persistence on write</li>
@@ -122,8 +124,11 @@ public static WriteOptions defaultWriteOptions() {
122124 *
123125 * @param database The database to be used for InfluxDB operations.
124126 * If it is not specified then use {@link ClientConfig#getDatabase()}.
125- * @param precision The precision to use for the timestamp of points .
127+ * @param precision The precision to use for the timestamp.
126128 * If it is not specified then use {@link ClientConfig#getWritePrecision()}.
129+ * This setting is ignored when writing {@link com.influxdb.v3.client.Point};
130+ * for those writes, the client always sends {@link WritePrecision#NS}
131+ * precision to the server.
127132 * @param gzipThreshold The threshold for compressing request body.
128133 * If it is not specified then use {@link WriteOptions#DEFAULT_GZIP_THRESHOLD}.
129134 */
@@ -138,8 +143,11 @@ public WriteOptions(@Nullable final String database,
138143 *
139144 * @param database The database to be used for InfluxDB operations.
140145 * If it is not specified then use {@link ClientConfig#getDatabase()}.
141- * @param precision The precision to use for the timestamp of points .
146+ * @param precision The precision to use for the timestamp.
142147 * If it is not specified then use {@link ClientConfig#getWritePrecision()}.
148+ * This setting is ignored when writing {@link com.influxdb.v3.client.Point};
149+ * for those writes, the client always sends {@link WritePrecision#NS}
150+ * precision to the server.
143151 * @param gzipThreshold The threshold for compressing request body.
144152 * If it is not specified then use {@link WriteOptions#DEFAULT_GZIP_THRESHOLD}.
145153 * @param defaultTags Default tags to be added when writing points.
@@ -156,8 +164,11 @@ public WriteOptions(@Nullable final String database,
156164 *
157165 * @param database The database to be used for InfluxDB operations.
158166 * If it is not specified then use {@link ClientConfig#getDatabase()}.
159- * @param precision The precision to use for the timestamp of points .
167+ * @param precision The precision to use for the timestamp.
160168 * If it is not specified then use {@link ClientConfig#getWritePrecision()}.
169+ * This setting is ignored when writing {@link com.influxdb.v3.client.Point};
170+ * for those writes, the client always sends {@link WritePrecision#NS}
171+ * precision to the server.
161172 * @param gzipThreshold The threshold for compressing request body.
162173 * If it is not specified then use {@link WriteOptions#DEFAULT_GZIP_THRESHOLD}.
163174 * @param noSync Skip waiting for WAL persistence on write.
@@ -185,8 +196,11 @@ public WriteOptions(@Nullable final Map<String, String> headers) {
185196 *
186197 * @param database The database to be used for InfluxDB operations.
187198 * If it is not specified then use {@link ClientConfig#getDatabase()}.
188- * @param precision The precision to use for the timestamp of points .
199+ * @param precision The precision to use for the timestamp.
189200 * If it is not specified then use {@link ClientConfig#getWritePrecision()}.
201+ * This setting is ignored when writing {@link com.influxdb.v3.client.Point};
202+ * for those writes, the client always sends {@link WritePrecision#NS}
203+ * precision to the server.
190204 * @param gzipThreshold The threshold for compressing request body.
191205 * If it is not specified then use {@link WriteOptions#DEFAULT_GZIP_THRESHOLD}.
192206 * @param defaultTags Default tags to be added when writing points.
@@ -207,8 +221,11 @@ public WriteOptions(@Nullable final String database,
207221 *
208222 * @param database The database to be used for InfluxDB operations.
209223 * If it is not specified then use {@link ClientConfig#getDatabase()}.
210- * @param precision The precision to use for the timestamp of points .
224+ * @param precision The precision to use for the timestamp.
211225 * If it is not specified then use {@link ClientConfig#getWritePrecision()}.
226+ * This setting is ignored when writing {@link com.influxdb.v3.client.Point};
227+ * for those writes, the client always sends {@link WritePrecision#NS}
228+ * precision to the server.
212229 * @param gzipThreshold The threshold for compressing request body.
213230 * If it is not specified then use {@link WriteOptions#DEFAULT_GZIP_THRESHOLD}.
214231 * @param noSync Skip waiting for WAL persistence on write.
@@ -232,8 +249,11 @@ public WriteOptions(@Nullable final String database,
232249 *
233250 * @param database The database to be used for InfluxDB operations.
234251 * If it is not specified then use {@link ClientConfig#getDatabase()}.
235- * @param precision The precision to use for the timestamp of points .
252+ * @param precision The precision to use for the timestamp.
236253 * If it is not specified then use {@link ClientConfig#getWritePrecision()}.
254+ * This setting is ignored when writing {@link com.influxdb.v3.client.Point};
255+ * for those writes, the client always sends {@link WritePrecision#NS}
256+ * precision to the server.
237257 * @param gzipThreshold The threshold for compressing request body.
238258 * If it is not specified then use {@link WriteOptions#DEFAULT_GZIP_THRESHOLD}.
239259 * @param noSync Skip waiting for WAL persistence on write.
@@ -263,8 +283,11 @@ public WriteOptions(@Nullable final String database,
263283 *
264284 * @param database The database to be used for InfluxDB operations.
265285 * If it is not specified then use {@link ClientConfig#getDatabase()}.
266- * @param precision The precision to use for the timestamp of points .
286+ * @param precision The precision to use for the timestamp.
267287 * If it is not specified then use {@link ClientConfig#getWritePrecision()}.
288+ * This setting is ignored when writing {@link com.influxdb.v3.client.Point};
289+ * for those writes, the client always sends {@link WritePrecision#NS}
290+ * precision to the server.
268291 * @param gzipThreshold The threshold for compressing request body.
269292 * If it is not specified then use {@link WriteOptions#DEFAULT_GZIP_THRESHOLD}.
270293 * @param noSync Skip waiting for WAL persistence on write.
@@ -305,8 +328,11 @@ public WriteOptions(@Nullable final String database,
305328 *
306329 * @param database The database to be used for InfluxDB operations.
307330 * If it is not specified then use {@link ClientConfig#getDatabase()}.
308- * @param precision The precision to use for the timestamp of points .
331+ * @param precision The precision to use for the timestamp.
309332 * If it is not specified then use {@link ClientConfig#getWritePrecision()}.
333+ * This setting is ignored when writing {@link com.influxdb.v3.client.Point};
334+ * for those writes, the client always sends {@link WritePrecision#NS}
335+ * precision to the server.
310336 * @param gzipThreshold The threshold for compressing request body.
311337 * If it is not specified then use {@link WriteOptions#DEFAULT_GZIP_THRESHOLD}.
312338 * @param noSync Skip waiting for WAL persistence on write.
0 commit comments