Supported Data Types in Java V2 and V3 clients

AnshJ
Thu, 04 Sep 2025 11:20:51 +0000
InfluxDB 3

Hi InfluxData Team,

Regarding the Java client:

Does the influxdb3-java client support complex datatypes for fields, such as arrays, maps, or nested objects?

For primitive types (e.g., float, integer, timestamp, boolean, etc.), I was able to find direct support (example: for float fields, we have setFloatFields method [link]). Could you share if and how complex datatypes like arrays and maps can be added as fields?

Also, could you please confirm what all datatype support was available in the V2 client (influxdb-client-java)? From what I found, V2 only provided the addField method (with internal handling for all data types): Reference link to V2 Point.addField.

Thanks,
Ansh

3 posts - 3 participants