Class WriteParameters

java.lang.Object
com.influxdb.client.write.WriteParameters

@ThreadSafe public final class WriteParameters extends Object
Write API parameters.

Supports to specify:

  • bucket - Specifies the destination bucket for writes.
  • org - Specifies the destination organization for writes.
  • precision - Precision for unix timestamps in the line protocol of the request payload.
  • consistency - The write consistency for the point. InfluxDB assumes that the write consistency is WriteConsistency.ONE if you do not specify consistency. See the InfluxDB Enterprise documentation for detailed descriptions of each consistency option. Available with InfluxDB Enterprise clusters only!