Package com.influxdb.client.osgi
Class InfluxDBConnector
java.lang.Object
com.influxdb.client.osgi.InfluxDBConnector
InfluxDB connector managing
InfluxDBClient OSGi service.
Service is used to define an InfluxDB connection. A InfluxDBClient service is
registered by the connector, and it can be referenced by any custom OSGi component.
- InfluxDB V2 client is created if token is set.
- InfluxDB V1 (V1.7+) client is created if token is not set but database.
- InfluxDB V2 client is created (by username and password) otherwise.
The following connector properties are added to InfluxDB client too: organization,
bucket, database, url and alias.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interfaceConfiguration for InfluxDB connector. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
InfluxDBConnector
public InfluxDBConnector()
-