| Modifier and Type | Method and Description |
|---|---|
WritePrecision |
InfluxDBClientOptions.getPrecision() |
| Modifier and Type | Method and Description |
|---|---|
InfluxDBClientOptions.Builder |
InfluxDBClientOptions.Builder.precision(WritePrecision precision)
Specify the default precision for unix timestamps in the line protocol.
|
<M> void |
WriteApiBlocking.writeMeasurement(String bucket,
String org,
WritePrecision precision,
M measurement)
Write Measurement into specified bucket.
|
<M> void |
WriteApi.writeMeasurement(String bucket,
String org,
WritePrecision precision,
M measurement)
Write Measurement into specified bucket.
|
<M> void |
WriteApiBlocking.writeMeasurement(WritePrecision precision,
M measurement)
Write Measurement into specified bucket.
|
<M> void |
WriteApi.writeMeasurement(WritePrecision precision,
M measurement)
Write Measurement into specified bucket.
|
<M> void |
WriteApiBlocking.writeMeasurements(String bucket,
String org,
WritePrecision precision,
List<M> measurements)
Write Measurements into specified bucket.
|
<M> void |
WriteApi.writeMeasurements(String bucket,
String org,
WritePrecision precision,
List<M> measurements)
Write Measurements into specified bucket.
|
<M> void |
WriteApiBlocking.writeMeasurements(WritePrecision precision,
List<M> measurements)
Write Measurements into specified bucket.
|
<M> void |
WriteApi.writeMeasurements(WritePrecision precision,
List<M> measurements)
Write Measurements into specified bucket.
|
void |
WriteApiBlocking.writeRecord(String bucket,
String org,
WritePrecision precision,
String record)
Write Line Protocol record into specified bucket.
|
void |
WriteApi.writeRecord(String bucket,
String org,
WritePrecision precision,
String record)
Write Line Protocol record into specified bucket.
|
void |
WriteApiBlocking.writeRecord(WritePrecision precision,
String record)
Write Line Protocol record into specified bucket.
|
void |
WriteApi.writeRecord(WritePrecision precision,
String record)
Write Line Protocol record into specified bucket.
|
void |
WriteApiBlocking.writeRecords(String bucket,
String org,
WritePrecision precision,
List<String> records)
Write Line Protocol records into specified bucket.
|
void |
WriteApi.writeRecords(String bucket,
String org,
WritePrecision precision,
List<String> records)
Write Line Protocol records into specified bucket.
|
void |
WriteApiBlocking.writeRecords(WritePrecision precision,
List<String> records)
Write Line Protocol records into specified bucket.
|
void |
WriteApi.writeRecords(WritePrecision precision,
List<String> records)
Write Line Protocol records into specified bucket.
|
| Modifier and Type | Method and Description |
|---|---|
static WritePrecision |
WritePrecision.fromValue(String text) |
WritePrecision |
WritePrecision.Adapter.read(com.google.gson.stream.JsonReader jsonReader) |
static WritePrecision |
WritePrecision.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WritePrecision[] |
WritePrecision.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
WritePrecision.Adapter.write(com.google.gson.stream.JsonWriter jsonWriter,
WritePrecision enumeration) |
| Modifier and Type | Method and Description |
|---|---|
protected <M> AbstractWriteClient.BatchWriteDataMeasurement |
AbstractWriteBlockingClient.toMeasurementBatch(M measurement,
WritePrecision precision) |
| Constructor and Description |
|---|
BatchWriteDataMeasurement(Object measurement,
WritePrecision precision,
InfluxDBClientOptions options,
MeasurementMapper measurementMapper) |
BatchWriteDataPoint(Point point,
WritePrecision precision,
InfluxDBClientOptions options) |
| Modifier and Type | Method and Description |
|---|---|
retrofit2.Call<Void> |
WriteService.postWrite(String org,
String bucket,
String body,
String zapTraceSpan,
String contentEncoding,
String contentType,
Integer contentLength,
String accept,
String orgID,
WritePrecision precision,
WriteConsistency consistency)
Write data
Writes data to a bucket.
|
io.reactivex.rxjava3.core.Single<retrofit2.Response<Void>> |
WriteService.postWriteRx(String org,
String bucket,
String body,
String zapTraceSpan,
String contentEncoding,
String contentType,
Integer contentLength,
String accept,
String orgID,
WritePrecision precision,
WriteConsistency consistency)
Write data
Writes data to a bucket.
|
| Modifier and Type | Field and Description |
|---|---|
static WritePrecision |
WriteParameters.DEFAULT_WRITE_PRECISION |
| Modifier and Type | Method and Description |
|---|---|
WritePrecision |
Point.getPrecision() |
WritePrecision |
WriteParameters.precisionSafe(InfluxDBClientOptions options) |
| Modifier and Type | Method and Description |
|---|---|
WriteParameters |
WriteParameters.copy(WritePrecision precision,
InfluxDBClientOptions options)
Copy current parameters with new precision.
|
Point |
Point.time(Instant time,
WritePrecision precision)
Updates the timestamp for the point.
|
Point |
Point.time(Long time,
WritePrecision precision)
Updates the timestamp for the point.
|
Point |
Point.time(Number time,
WritePrecision precision)
Updates the timestamp for the point.
|
String |
Point.toLineProtocol(PointSettings pointSettings,
WritePrecision precision) |
| Constructor and Description |
|---|
WriteParameters(String bucket,
String org,
WritePrecision precision)
The backward internal constructor, please use
WriteParameters(String, String, WritePrecision, WriteConsistency). |
WriteParameters(String bucket,
String org,
WritePrecision precision,
WriteConsistency consistency)
Construct WriteAPI parameters.
|
WriteParameters(WritePrecision precision,
WriteConsistency consistency)
Construct WriteAPI parameters.
|
| Modifier and Type | Method and Description |
|---|---|
WritePrecision |
WriteSuccessEvent.getPrecision() |
| Constructor and Description |
|---|
WriteSuccessEvent(String organization,
String bucket,
WritePrecision precision,
String lineProtocol) |
| Modifier and Type | Method and Description |
|---|---|
static BigInteger |
NanosecondConverter.convert(Instant instant,
WritePrecision precision)
Convert
Instant timestamp to a given precision. |
static BigInteger |
NanosecondConverter.convert(long millis,
WritePrecision precision)
Convert epoch timestamp (in millis) to a given precision.
|
static BigInteger |
NanosecondConverter.currentTimestamp(WritePrecision precision)
Get current timestamp in a given precision.
|
Copyright © 2018–2023 InfluxData, Inc.. All rights reserved.