@ThreadSafe public interface QueryReactiveApi
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Flowable<com.influxdb.query.FluxRecord> |
query(org.reactivestreams.Publisher<String> queryStream)
Returns
Flowable emitting FluxRecords which are matched the query. |
<M> io.reactivex.Flowable<M> |
query(org.reactivestreams.Publisher<String> queryStream,
Class<M> measurementType)
Returns the
Flowable emitting POJO stream. |
io.reactivex.Flowable<com.influxdb.query.FluxRecord> |
query(org.reactivestreams.Publisher<String> queryStream,
String org)
Returns
Flowable emitting FluxRecords which are matched the query. |
<M> io.reactivex.Flowable<M> |
query(org.reactivestreams.Publisher<String> queryStream,
String org,
Class<M> measurementType)
Returns the
Flowable emitting POJO stream. |
io.reactivex.Flowable<com.influxdb.query.FluxRecord> |
query(String query)
Returns
Flowable emitting FluxRecords which are matched the query. |
<M> io.reactivex.Flowable<M> |
query(String query,
Class<M> measurementType)
Execute a Flux against the Flux service.
|
io.reactivex.Flowable<com.influxdb.query.FluxRecord> |
query(String query,
String org)
Returns
Flowable emitting FluxRecords which are matched the query. |
<M> io.reactivex.Flowable<M> |
query(String query,
String org,
Class<M> measurementType)
Execute a Flux against the Flux service.
|
io.reactivex.Flowable<String> |
queryRaw(org.reactivestreams.Publisher<String> queryStream)
Returns
Flowable emitting queryRaw response from InfluxDB server line by line. |
io.reactivex.Flowable<String> |
queryRaw(org.reactivestreams.Publisher<String> queryStream,
Dialect dialect)
Returns
Flowable emitting queryRaw response fromInfluxDB 2.0server line by line. |
io.reactivex.Flowable<String> |
queryRaw(org.reactivestreams.Publisher<String> queryStream,
Dialect dialect,
String org)
Returns
Flowable emitting queryRaw response fromInfluxDB 2.0server line by line. |
io.reactivex.Flowable<String> |
queryRaw(org.reactivestreams.Publisher<String> queryStream,
String org)
Returns
Flowable emitting queryRaw response from InfluxDB server line by line. |
io.reactivex.Flowable<String> |
queryRaw(String query)
Returns
Flowable emitting raw response fromInfluxDB 2.0server line by line. |
io.reactivex.Flowable<String> |
queryRaw(String query,
Dialect dialect)
Returns
Flowable emitting queryRaw response fromInfluxDB 2.0server line by line. |
io.reactivex.Flowable<String> |
queryRaw(String query,
Dialect dialect,
String org)
Returns
Flowable emitting queryRaw response fromInfluxDB 2.0server line by line. |
io.reactivex.Flowable<String> |
queryRaw(String query,
String org)
Returns
Flowable emitting raw response fromInfluxDB 2.0server line by line. |
@Nonnull io.reactivex.Flowable<com.influxdb.query.FluxRecord> query(@Nonnull String query)
Flowable emitting FluxRecords which are matched the query.
If none found than return Flowable.empty().
The InfluxDBClientOptions.getOrg() will be used as source organization.
query - the Flux query to executeFlowable of FluxRecords@Nonnull io.reactivex.Flowable<com.influxdb.query.FluxRecord> query(@Nonnull String query, @Nonnull String org)
Flowable emitting FluxRecords which are matched the query.
If none found than return Flowable.empty().query - the Flux query to executeorg - specifies the source organizationFlowable of FluxRecords<M> io.reactivex.Flowable<M> query(@Nonnull String query, @Nonnull Class<M> measurementType)
The InfluxDBClientOptions.getOrg() will be used as source organization.
M - the type of the measurement (POJO)query - the flux query to executemeasurementType - the class type used to which will be result mappedFlowable emitting a POJO mapped to measurementType which are matched
the query or Flowable.empty() if none found.<M> io.reactivex.Flowable<M> query(@Nonnull String query, @Nonnull String org, @Nonnull Class<M> measurementType)
M - the type of the measurement (POJO)query - the flux query to executeorg - specifies the source organizationmeasurementType - the class type used to which will be result mappedFlowable emitting a POJO mapped to measurementType which are matched
the query or Flowable.empty() if none found.@Nonnull io.reactivex.Flowable<com.influxdb.query.FluxRecord> query(@Nonnull org.reactivestreams.Publisher<String> queryStream)
Flowable emitting FluxRecords which are matched the query.
If none found than return Flowable.empty().
The InfluxDBClientOptions.getOrg() will be used as source organization.
queryStream - the Flux query publisherFlowable of FluxRecords@Nonnull io.reactivex.Flowable<com.influxdb.query.FluxRecord> query(@Nonnull org.reactivestreams.Publisher<String> queryStream, @Nonnull String org)
Flowable emitting FluxRecords which are matched the query.
If none found than return Flowable.empty().queryStream - the Flux query publisherorg - specifies the source organizationFlowable of FluxRecords@Nonnull <M> io.reactivex.Flowable<M> query(@Nonnull org.reactivestreams.Publisher<String> queryStream, @Nonnull Class<M> measurementType)
Flowable emitting POJO stream.
If none found than return Flowable.empty().
The InfluxDBClientOptions.getOrg() will be used as source organization.
M - the type of the measurement (POJO)measurementType - the measurement class (POJO)queryStream - the Flux query publisherFlowable of FluxRecords@Nonnull <M> io.reactivex.Flowable<M> query(@Nonnull org.reactivestreams.Publisher<String> queryStream, @Nonnull String org, @Nonnull Class<M> measurementType)
Flowable emitting POJO stream.
If none found than return Flowable.empty().
M - the type of the measurement (POJO)measurementType - the measurement class (POJO)org - specifies the source organizationqueryStream - the Flux query publisherFlowable of FluxRecords@Nonnull io.reactivex.Flowable<String> queryRaw(@Nonnull String query)
Flowable emitting raw response fromInfluxDB 2.0server line by line.
The InfluxDBClientOptions.getOrg() will be used as source organization.
query - the Flux query to executeFlowable of response lines@Nonnull io.reactivex.Flowable<String> queryRaw(@Nonnull String query, @Nonnull String org)
Flowable emitting raw response fromInfluxDB 2.0server line by line.query - the Flux query to executeorg - specifies the source organizationFlowable of response lines@Nonnull io.reactivex.Flowable<String> queryRaw(@Nonnull org.reactivestreams.Publisher<String> queryStream)
Flowable emitting queryRaw response from InfluxDB server line by line.
The InfluxDBClientOptions.getOrg() will be used as source organization.
queryStream - the Flux query publisherFlowable of response lines@Nonnull io.reactivex.Flowable<String> queryRaw(@Nonnull org.reactivestreams.Publisher<String> queryStream, @Nonnull String org)
Flowable emitting queryRaw response from InfluxDB server line by line.queryStream - the Flux query publisherorg - specifies the source organizationFlowable of response lines@Nonnull io.reactivex.Flowable<String> queryRaw(@Nonnull String query, @Nullable Dialect dialect)
Flowable emitting queryRaw response fromInfluxDB 2.0server line by line.
The InfluxDBClientOptions.getOrg() will be used as source organization.
dialect - Dialect is an object defining the options to use when encoding the response.
See dialect SPEC..query - the Flux query to executeFlowable of response lines@Nonnull io.reactivex.Flowable<String> queryRaw(@Nonnull String query, @Nullable Dialect dialect, @Nonnull String org)
Flowable emitting queryRaw response fromInfluxDB 2.0server line by line.dialect - Dialect is an object defining the options to use when encoding the response.
See dialect SPEC..query - the Flux query to executeorg - specifies the source organizationFlowable of response lines@Nonnull io.reactivex.Flowable<String> queryRaw(@Nonnull org.reactivestreams.Publisher<String> queryStream, @Nullable Dialect dialect)
Flowable emitting queryRaw response fromInfluxDB 2.0server line by line.
The InfluxDBClientOptions.getOrg() will be used as source organization.
dialect - Dialect is an object defining the options to use when encoding the response.
See dialect SPEC..queryStream - the Flux query publisherFlowable of response lines@Nonnull io.reactivex.Flowable<String> queryRaw(@Nonnull org.reactivestreams.Publisher<String> queryStream, @Nullable Dialect dialect, @Nonnull String org)
Flowable emitting queryRaw response fromInfluxDB 2.0server line by line.dialect - Dialect is an object defining the options to use when encoding the response.
See dialect SPEC..queryStream - the Flux query publisherorg - specifies the source organizationFlowable of response linesCopyright © 2018–2021 InfluxData, Inc.. All rights reserved.