Interface WriteReactiveApi
- All Known Implementing Classes:
WriteReactiveApiImpl
The data are formatted in Line Protocol.
- Author:
- Jakub Bednar (bednar@github) (22/11/2018 06:49)
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
The class represents a successful written operation. -
Method Summary
Modifier and TypeMethodDescription<M> org.reactivestreams.Publisher
<WriteReactiveApi.Success> writeMeasurement
(WritePrecision precision, M measurement) Write Measurement into specified bucket.<M> org.reactivestreams.Publisher
<WriteReactiveApi.Success> writeMeasurement
(String bucket, String org, WritePrecision precision, M measurement) Write Measurement into specified bucket.<M> org.reactivestreams.Publisher
<WriteReactiveApi.Success> writeMeasurements
(WritePrecision precision, org.reactivestreams.Publisher<M> measurements) Write Measurements into specified bucket.<M> org.reactivestreams.Publisher
<WriteReactiveApi.Success> writeMeasurements
(String bucket, String org, WritePrecision precision, org.reactivestreams.Publisher<M> measurements) Write Measurements into specified bucket.<M> org.reactivestreams.Publisher
<WriteReactiveApi.Success> writeMeasurements
(org.reactivestreams.Publisher<M> measurements, WriteParameters parameters) Write Measurements into specified bucket.org.reactivestreams.Publisher
<WriteReactiveApi.Success> writePoint
(WritePrecision precision, Point point) Write Data point into specified bucket.org.reactivestreams.Publisher
<WriteReactiveApi.Success> writePoint
(String bucket, String org, WritePrecision precision, Point point) Write Data point into specified bucket.org.reactivestreams.Publisher
<WriteReactiveApi.Success> writePoints
(WritePrecision precision, org.reactivestreams.Publisher<Point> points) Write Data points into specified bucket.org.reactivestreams.Publisher
<WriteReactiveApi.Success> writePoints
(String bucket, String org, WritePrecision precision, org.reactivestreams.Publisher<Point> points) Write Data points into specified bucket.org.reactivestreams.Publisher
<WriteReactiveApi.Success> writePoints
(org.reactivestreams.Publisher<Point> points, WriteParameters parameters) Write Data points into specified bucket.org.reactivestreams.Publisher
<WriteReactiveApi.Success> writeRecord
(WritePrecision precision, String record) Write Line Protocol record into specified bucket.org.reactivestreams.Publisher
<WriteReactiveApi.Success> writeRecord
(String bucket, String org, WritePrecision precision, String record) Write Line Protocol record into specified bucket.org.reactivestreams.Publisher
<WriteReactiveApi.Success> writeRecords
(WritePrecision precision, org.reactivestreams.Publisher<String> records) Write Line Protocol records into specified bucket.org.reactivestreams.Publisher
<WriteReactiveApi.Success> writeRecords
(String bucket, String org, WritePrecision precision, org.reactivestreams.Publisher<String> records) Write Line Protocol records into specified bucket.org.reactivestreams.Publisher
<WriteReactiveApi.Success> writeRecords
(org.reactivestreams.Publisher<String> records, WriteParameters parameters) Write Line Protocol records into specified bucket.
-
Method Details
-
writeRecord
org.reactivestreams.Publisher<WriteReactiveApi.Success> writeRecord(@Nonnull WritePrecision precision, @Nullable String record) Write Line Protocol record into specified bucket.The
InfluxDBClientOptions.getBucket()
will be use as destination bucket andInfluxDBClientOptions.getOrg()
will be used as destination organization.- Parameters:
precision
- specifies the precision for the unix timestamps within the body line-protocolrecord
- specifies the record in InfluxDB Line Protocol.- Returns:
- Publisher representing a successful written operation or signal
the
InfluxException
viaSubscriber.onError(java.lang.Throwable)
-
writeRecord
org.reactivestreams.Publisher<WriteReactiveApi.Success> writeRecord(@Nonnull String bucket, @Nonnull String org, @Nonnull WritePrecision precision, @Nullable String record) Write Line Protocol record into specified bucket.- Parameters:
bucket
- specifies the destination bucket for writesorg
- specifies the destination organization for writesprecision
- specifies the precision for the unix timestamps within the body line-protocolrecord
- specifies the record in InfluxDB Line Protocol.- Returns:
- Publisher representing a successful written operation or signal
the
InfluxException
viaSubscriber.onError(java.lang.Throwable)
-
writeRecords
org.reactivestreams.Publisher<WriteReactiveApi.Success> writeRecords(@Nonnull WritePrecision precision, @Nonnull org.reactivestreams.Publisher<String> records) Write Line Protocol records into specified bucket.The
InfluxDBClientOptions.getBucket()
will be use as destination bucket andInfluxDBClientOptions.getOrg()
will be used as destination organization.- Parameters:
precision
- specifies the precision for the unix timestamps within the body line-protocolrecords
- specifies the records in InfluxDB Line Protocol- Returns:
- Publisher representing a successful written operation or signal
the
InfluxException
viaSubscriber.onError(java.lang.Throwable)
-
writeRecords
org.reactivestreams.Publisher<WriteReactiveApi.Success> writeRecords(@Nonnull String bucket, @Nonnull String org, @Nonnull WritePrecision precision, @Nonnull org.reactivestreams.Publisher<String> records) Write Line Protocol records into specified bucket.- Parameters:
bucket
- specifies the destination bucket for writesorg
- specifies the destination organization for writesprecision
- specifies the precision for the unix timestamps within the body line-protocolrecords
- specifies the records in InfluxDB Line Protocol- Returns:
- Publisher representing a successful written operation or signal
the
InfluxException
viaSubscriber.onError(java.lang.Throwable)
-
writeRecords
org.reactivestreams.Publisher<WriteReactiveApi.Success> writeRecords(@Nonnull org.reactivestreams.Publisher<String> records, @Nonnull WriteParameters parameters) Write Line Protocol records into specified bucket.- Parameters:
records
- specifies the records in InfluxDB Line Protocolparameters
- specify InfluxDB Write endpoint parameters- Returns:
- Publisher representing a successful written operation or signal
the
InfluxException
viaSubscriber.onError(java.lang.Throwable)
-
writePoint
org.reactivestreams.Publisher<WriteReactiveApi.Success> writePoint(@Nonnull WritePrecision precision, @Nonnull Point point) Write Data point into specified bucket.The
InfluxDBClientOptions.getBucket()
will be use as destination bucket andInfluxDBClientOptions.getOrg()
will be used as destination organization.- Parameters:
precision
- specifies the precision for the unix timestamps within the body line-protocolpoint
- specifies the Data point to write into bucket- Returns:
- Publisher representing a successful written operation or signal
the
InfluxException
viaSubscriber.onError(java.lang.Throwable)
-
writePoint
org.reactivestreams.Publisher<WriteReactiveApi.Success> writePoint(@Nonnull String bucket, @Nonnull String org, @Nonnull WritePrecision precision, @Nonnull Point point) Write Data point into specified bucket.- Parameters:
bucket
- specifies the destination bucket for writesorg
- specifies the destination organization for writesprecision
- specifies the precision for the unix timestamps within the body line-protocolpoint
- specifies the Data point to write into bucket- Returns:
- Publisher representing a successful written operation or signal
the
InfluxException
viaSubscriber.onError(java.lang.Throwable)
-
writePoints
org.reactivestreams.Publisher<WriteReactiveApi.Success> writePoints(@Nonnull WritePrecision precision, @Nonnull org.reactivestreams.Publisher<Point> points) Write Data points into specified bucket.The
InfluxDBClientOptions.getBucket()
will be use as destination bucket andInfluxDBClientOptions.getOrg()
will be used as destination organization.- Parameters:
precision
- specifies the precision for the unix timestamps within the body line-protocolpoints
- specifies the Data points to write into bucket- Returns:
- Publisher representing a successful written operation or signal
the
InfluxException
viaSubscriber.onError(java.lang.Throwable)
-
writePoints
org.reactivestreams.Publisher<WriteReactiveApi.Success> writePoints(@Nonnull String bucket, @Nonnull String org, @Nonnull WritePrecision precision, @Nonnull org.reactivestreams.Publisher<Point> points) Write Data points into specified bucket.- Parameters:
bucket
- specifies the destination bucket ID for writesorg
- specifies the destination organization ID for writesprecision
- specifies the precision for the unix timestamps within the body line-protocolpoints
- specifies the Data points to write into bucket- Returns:
- Publisher representing a successful written operation or signal
the
InfluxException
viaSubscriber.onError(java.lang.Throwable)
-
writePoints
org.reactivestreams.Publisher<WriteReactiveApi.Success> writePoints(@Nonnull org.reactivestreams.Publisher<Point> points, @Nonnull WriteParameters parameters) Write Data points into specified bucket.- Parameters:
points
- specifies the Data points to write into bucketparameters
- specify InfluxDB Write endpoint parameters- Returns:
- Publisher representing a successful written operation or signal
the
InfluxException
viaSubscriber.onError(java.lang.Throwable)
-
writeMeasurement
<M> org.reactivestreams.Publisher<WriteReactiveApi.Success> writeMeasurement(@Nonnull WritePrecision precision, @Nonnull M measurement) Write Measurement into specified bucket.The
InfluxDBClientOptions.getBucket()
will be use as destination bucket andInfluxDBClientOptions.getOrg()
will be used as destination organization.- Type Parameters:
M
- type of measurement- Parameters:
precision
- specifies the precision for the unix timestamps within the body line-protocolmeasurement
- specifies the Measurement to write into bucket- Returns:
- Publisher representing a successful written operation or signal
the
InfluxException
viaSubscriber.onError(java.lang.Throwable)
-
writeMeasurement
<M> org.reactivestreams.Publisher<WriteReactiveApi.Success> writeMeasurement(@Nonnull String bucket, @Nonnull String org, @Nonnull WritePrecision precision, @Nonnull M measurement) Write Measurement into specified bucket.- Type Parameters:
M
- type of measurement- Parameters:
bucket
- specifies the destination bucket for writesorg
- specifies the destination organization for writesprecision
- specifies the precision for the unix timestamps within the body line-protocolmeasurement
- specifies the Measurement to write into bucket- Returns:
- Publisher representing a successful written operation or signal
the
InfluxException
viaSubscriber.onError(java.lang.Throwable)
-
writeMeasurements
<M> org.reactivestreams.Publisher<WriteReactiveApi.Success> writeMeasurements(@Nonnull WritePrecision precision, @Nonnull org.reactivestreams.Publisher<M> measurements) Write Measurements into specified bucket.The
InfluxDBClientOptions.getBucket()
will be use as destination bucket andInfluxDBClientOptions.getOrg()
will be used as destination organization.- Type Parameters:
M
- type of measurement- Parameters:
precision
- specifies the precision for the unix timestamps within the body line-protocolmeasurements
- specifies the Measurements to write into bucket- Returns:
- Publisher representing a successful written operation or signal
the
InfluxException
viaSubscriber.onError(java.lang.Throwable)
-
writeMeasurements
<M> org.reactivestreams.Publisher<WriteReactiveApi.Success> writeMeasurements(@Nonnull String bucket, @Nonnull String org, @Nonnull WritePrecision precision, @Nonnull org.reactivestreams.Publisher<M> measurements) Write Measurements into specified bucket.- Type Parameters:
M
- type of measurement- Parameters:
bucket
- specifies the destination bucket for writesorg
- specifies the destination organization for writesprecision
- specifies the precision for the unix timestamps within the body line-protocolmeasurements
- specifies the Measurements to write into bucket- Returns:
- Publisher representing a successful written operation or signal
the
InfluxException
viaSubscriber.onError(java.lang.Throwable)
-
writeMeasurements
<M> org.reactivestreams.Publisher<WriteReactiveApi.Success> writeMeasurements(@Nonnull org.reactivestreams.Publisher<M> measurements, @Nonnull WriteParameters parameters) Write Measurements into specified bucket.- Type Parameters:
M
- type of measurement- Parameters:
measurements
- specifies the Measurements to write into bucketparameters
- specify InfluxDB Write endpoint parameters- Returns:
- Publisher representing a successful written operation or signal
the
InfluxException
viaSubscriber.onError(java.lang.Throwable)
-