Package | Description |
---|---|
org.influxdb | |
org.influxdb.dto | |
org.influxdb.impl |
Modifier and Type | Method and Description |
---|---|
InfluxDB.ConsistencyLevel |
BatchOptions.getConsistency() |
static InfluxDB.ConsistencyLevel |
InfluxDB.ConsistencyLevel.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InfluxDB.ConsistencyLevel[] |
InfluxDB.ConsistencyLevel.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
BatchOptions |
BatchOptions.consistency(InfluxDB.ConsistencyLevel consistency) |
InfluxDB |
InfluxDB.enableBatch(int actions,
int flushDuration,
TimeUnit flushDurationTimeUnit,
ThreadFactory threadFactory,
BiConsumer<Iterable<Point>,Throwable> exceptionHandler,
InfluxDB.ConsistencyLevel consistency)
Enable batching of single Point writes with consistency set for an entire batch
flushDurations is reached first, a batch write is issued.
|
InfluxDB |
InfluxDB.setConsistency(InfluxDB.ConsistencyLevel consistency)
Set the consistency level which is used for writing points.
|
void |
InfluxDB.write(String database,
String retentionPolicy,
InfluxDB.ConsistencyLevel consistency,
List<String> records)
Write a set of Points to the influxdb database with the list of string records.
|
void |
InfluxDB.write(String database,
String retentionPolicy,
InfluxDB.ConsistencyLevel consistency,
String records)
Write a set of Points to the influxdb database with the string records.
|
void |
InfluxDB.write(String database,
String retentionPolicy,
InfluxDB.ConsistencyLevel consistency,
TimeUnit precision,
List<String> records)
Write a set of Points to the influxdb database with the list of string records.
|
void |
InfluxDB.write(String database,
String retentionPolicy,
InfluxDB.ConsistencyLevel consistency,
TimeUnit precision,
String records)
Write a set of Points to the influxdb database with the string records.
|
Modifier and Type | Method and Description |
---|---|
InfluxDB.ConsistencyLevel |
BatchPoints.getConsistency() |
Modifier and Type | Method and Description |
---|---|
BatchPoints.Builder |
BatchPoints.Builder.consistency(InfluxDB.ConsistencyLevel consistencyLevel)
Set the ConsistencyLevel to use.
|
Modifier and Type | Method and Description |
---|---|
InfluxDB.ConsistencyLevel |
BatchProcessor.getConsistencyLevel() |
Modifier and Type | Method and Description |
---|---|
BatchProcessor.Builder |
BatchProcessor.Builder.consistencyLevel(InfluxDB.ConsistencyLevel consistencyLevel)
Consistency level for batch write.
|
InfluxDB |
InfluxDBImpl.enableBatch(int actions,
int flushDuration,
TimeUnit flushDurationTimeUnit,
ThreadFactory threadFactory,
BiConsumer<Iterable<Point>,Throwable> exceptionHandler,
InfluxDB.ConsistencyLevel consistency) |
InfluxDB |
InfluxDBImpl.setConsistency(InfluxDB.ConsistencyLevel consistency) |
void |
InfluxDBImpl.write(String database,
String retentionPolicy,
InfluxDB.ConsistencyLevel consistency,
List<String> records) |
void |
InfluxDBImpl.write(String database,
String retentionPolicy,
InfluxDB.ConsistencyLevel consistency,
String records) |
void |
InfluxDBImpl.write(String database,
String retentionPolicy,
InfluxDB.ConsistencyLevel consistency,
TimeUnit precision,
List<String> records) |
void |
InfluxDBImpl.write(String database,
String retentionPolicy,
InfluxDB.ConsistencyLevel consistency,
TimeUnit precision,
String records) |
Constructor and Description |
---|
InfluxDBImpl(String url,
String username,
String password,
okhttp3.OkHttpClient.Builder client,
String database,
String retentionPolicy,
InfluxDB.ConsistencyLevel consistency) |
Copyright © 2020. All rights reserved.