influxdata / influxdb-java

Java client for InfluxDB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

InfluxDBMapper and necessity of @Measurement

xhanness opened this issue · comments

Hello,
It looks that when using InfluxDBMapper, the model classes must be annotated with a @measurement annotation. Is it possible to not having @measurement annotation present and its related information (db name, measurement, etc) to have as part of the influx db client?
The thing is that db related information may be known during run time only so hardcoding them into the @measurement is not an option. I would basically would want to annotate my model classes my @column annotation only.
Thanks for a reply!