influxdata / influxdb-client-java

InfluxDB 2 JVM Based Clients
https://influxdata.github.io/influxdb-client-java/
MIT License
432 stars 129 forks source link

feat: add support of pojo's value which type is object #577

Closed DwArFeng closed 1 year ago

DwArFeng commented 1 year ago

Closes #

Proposed Changes

add support of pojo's value which type is object

an example:

public class PojoWithObjectValue {
    @Column(measurement = true)
    String customField;

    @Column(name = "tag", tag = true)
    private String tag;

    // The value's type is object, the value's actual type can be Number, boolean, or String, etc.
    @Column(name = "value")
    private Object value;
}

Checklist

bednar commented 1 year ago

This PR has been closed because it has not had recent activity. Please reopen if this PR is still important to you and you want to continue with them.