Class InfluxDBTimeSeriesConfiguration
java.lang.Object
org.eclipse.jnosql.databases.influxdb.communication.InfluxDBTimeSeriesConfiguration
- All Implemented Interfaces:
Function<org.eclipse.jnosql.communication.Settings,,org.eclipse.jnosql.communication.semistructured.DatabaseManagerFactory> org.eclipse.jnosql.communication.semistructured.DatabaseConfiguration
public class InfluxDBTimeSeriesConfiguration
extends Object
implements org.eclipse.jnosql.communication.semistructured.DatabaseConfiguration
Connects Eclipse JNoSQL to an InfluxDB 3 server.
A connection requires the server URL and database token. The database name passed to the resulting factory is used for both SQL queries and line-protocol writes.
-
Constructor Summary
ConstructorsConstructorDescriptionReads connection settings when a factory is requested; clients are opened only after the application selects an InfluxDB database. -
Method Summary
Modifier and TypeMethodDescriptionapply(org.eclipse.jnosql.communication.Settings settings) Opens a client using the supplied InfluxDB connection properties.
-
Constructor Details
-
InfluxDBTimeSeriesConfiguration
public InfluxDBTimeSeriesConfiguration()Reads connection settings when a factory is requested; clients are opened only after the application selects an InfluxDB database.
-
-
Method Details
-
get
Opens a client using the supplied InfluxDB connection properties.- Parameters:
configurations- properties keyed byInfluxDBTimeSeriesConfigurations- Returns:
- a factory that creates managers for InfluxDB databases
- Throws:
NullPointerException- ifconfigurationsisnullIllegalArgumentException- if a required connection property is absent or blank
-
apply
-