| Package | Description |
|---|---|
| com.influxdb.client | |
| com.influxdb.client.internal |
| Modifier and Type | Method and Description |
|---|---|
static InfluxDBClient |
InfluxDBClientFactory.create()
Create an instance of the InfluxDB 2.x client that is configured via
influx2.properties. |
static InfluxDBClient |
InfluxDBClientFactory.create(InfluxDBClientOptions options)
Create an instance of the InfluxDB 2.x client.
|
static InfluxDBClient |
InfluxDBClientFactory.create(String connectionString)
Create an instance of the InfluxDB 2.x client.
|
static InfluxDBClient |
InfluxDBClientFactory.create(String url,
char[] token)
Create an instance of the InfluxDB 2.x client.
|
static InfluxDBClient |
InfluxDBClientFactory.create(String url,
char[] token,
String org)
Create an instance of the InfluxDB 2.x client.
|
static InfluxDBClient |
InfluxDBClientFactory.create(String url,
char[] token,
String org,
String bucket)
Create an instance of the InfluxDB 2.x client.
|
static InfluxDBClient |
InfluxDBClientFactory.create(String url,
String username,
char[] password)
Create an instance of the InfluxDB 2.x client.
|
static InfluxDBClient |
InfluxDBClientFactory.createV1(String url,
String username,
char[] password,
String database,
String retentionPolicy)
Create an instance of the InfluxDB 2.x client to connect into InfluxDB 1.8.
|
static InfluxDBClient |
InfluxDBClientFactory.createV1(String url,
String username,
char[] password,
String database,
String retentionPolicy,
WriteConsistency consistency)
Create an instance of the InfluxDB 2.x client to connect into InfluxDB 1.8.
|
InfluxDBClient |
InfluxDBClient.disableGzip()
Disable Gzip compress for http request body.
|
InfluxDBClient |
InfluxDBClient.enableGzip()
Enable Gzip compress for http requests.
|
InfluxDBClient |
InfluxDBClient.setLogLevel(LogLevel logLevel)
Set the log level for the request and response information.
|
| Modifier and Type | Class and Description |
|---|---|
class |
InfluxDBClientImpl |
| Modifier and Type | Method and Description |
|---|---|
InfluxDBClient |
InfluxDBClientImpl.disableGzip() |
InfluxDBClient |
InfluxDBClientImpl.enableGzip() |
InfluxDBClient |
InfluxDBClientImpl.setLogLevel(LogLevel logLevel) |
Copyright © 2018–2023 InfluxData, Inc.. All rights reserved.