Interface QueryReactiveApi
Query object, see com.influxdb.client.QueryApi in Java module
for more details.- Author:
- Jakub Bednar (bednar@github) (21/11/2018 07:19)
-
Method Summary
Modifier and TypeMethodDescriptionorg.reactivestreams.Publisher<com.influxdb.query.FluxRecord> ReturnsPublisheremittingFluxRecords which are matched the query.org.reactivestreams.Publisher<com.influxdb.query.FluxRecord> ReturnsPublisheremittingFluxRecords which are matched the query.<M> org.reactivestreams.Publisher<M> Execute a Flux against the Flux service.org.reactivestreams.Publisher<com.influxdb.query.FluxRecord> ReturnsPublisheremittingFluxRecords which are matched the query.<M> org.reactivestreams.Publisher<M> Execute a Flux against the Flux service.org.reactivestreams.Publisher<com.influxdb.query.FluxRecord> ReturnsPublisheremittingFluxRecords which are matched the query.<M> org.reactivestreams.Publisher<M> Execute a Flux against the Flux service.org.reactivestreams.Publisher<com.influxdb.query.FluxRecord> ReturnsPublisheremittingFluxRecords which are matched the query.<M> org.reactivestreams.Publisher<M> Returns thePublisheremitting POJO stream.org.reactivestreams.Publisher<com.influxdb.query.FluxRecord> ReturnsPublisheremittingFluxRecords which are matched the query.<M> org.reactivestreams.Publisher<M> Returns thePublisheremitting POJO stream.org.reactivestreams.Publisher<com.influxdb.query.FluxRecord> queryQuery(org.reactivestreams.Publisher<Query> queryStream, String org) ReturnsPublisheremittingFluxRecords which are matched the query.org.reactivestreams.Publisher<String> ReturnsPublisheremitting raw response fromInfluxDB 2.x server line by line.org.reactivestreams.Publisher<String> ReturnsPublisheremitting queryRaw response fromInfluxDB 2.x server line by line.org.reactivestreams.Publisher<String> ReturnsPublisheremitting raw response fromInfluxDB 2.x server line by line.org.reactivestreams.Publisher<String> ReturnsPublisheremitting queryRaw response fromInfluxDB 2.x server line by line.org.reactivestreams.Publisher<String> ReturnsPublisheremitting queryRaw response fromInfluxDB 2.x server line by line.org.reactivestreams.Publisher<String> ReturnsPublisheremitting raw response fromInfluxDB 2.x server line by line.org.reactivestreams.Publisher<String> ReturnsPublisheremitting queryRaw response from InfluxDB server line by line.org.reactivestreams.Publisher<String> ReturnsPublisheremitting queryRaw response fromInfluxDB 2.x server line by line.org.reactivestreams.Publisher<String> ReturnsPublisheremitting queryRaw response fromInfluxDB 2.x server line by line.org.reactivestreams.Publisher<String> ReturnsPublisheremitting queryRaw response from InfluxDB server line by line.org.reactivestreams.Publisher<String> queryRawQuery(org.reactivestreams.Publisher<Query> queryStream, Dialect dialect, String org) ReturnsPublisheremitting queryRaw response fromInfluxDB 2.x server line by line.
-
Method Details
-
query
ReturnsPublisheremittingFluxRecords which are matched the query. If none found than return empty sequence.The
InfluxDBClientOptions.getOrg()will be used as source organization.- Parameters:
query- the Flux query to execute- Returns:
PublisherofFluxRecords
-
query
ReturnsPublisheremittingFluxRecords which are matched the query. If none found than return empty sequence.The
InfluxDBClientOptions.getOrg()will be used as source organization.- Parameters:
query- the Flux query to execute- Returns:
PublisherofFluxRecords
-
query
@Nonnull org.reactivestreams.Publisher<com.influxdb.query.FluxRecord> query(@Nonnull String query, @Nonnull String org) ReturnsPublisheremittingFluxRecords which are matched the query. If none found than return empty sequence.- Parameters:
query- the Flux query to executeorg- specifies the source organization- Returns:
PublisherofFluxRecords
-
query
@Nonnull org.reactivestreams.Publisher<com.influxdb.query.FluxRecord> query(@Nonnull Query query, @Nonnull String org) ReturnsPublisheremittingFluxRecords which are matched the query. If none found than return empty sequence.- Parameters:
query- the Flux query to executeorg- specifies the source organization- Returns:
PublisherofFluxRecords
-
query
<M> org.reactivestreams.Publisher<M> query(@Nonnull String query, @Nonnull Class<M> measurementType) Execute a Flux against the Flux service.The
InfluxDBClientOptions.getOrg()will be used as source organization.- Type Parameters:
M- the type of the measurement (POJO)- Parameters:
query- the flux query to executemeasurementType- the class type used to which will be result mapped- Returns:
Publisheremitting a POJO mapped tomeasurementTypewhich are matched the query or empty sequence if none found.
-
query
<M> org.reactivestreams.Publisher<M> query(@Nonnull String query, @Nonnull String org, @Nonnull Class<M> measurementType) Execute a Flux against the Flux service.- Type Parameters:
M- the type of the measurement (POJO)- Parameters:
query- the flux query to executeorg- specifies the source organizationmeasurementType- the class type used to which will be result mapped- Returns:
Publisheremitting a POJO mapped tomeasurementTypewhich are matched the query or empty sequence if none found.
-
query
<M> org.reactivestreams.Publisher<M> query(@Nonnull Query query, @Nonnull String org, @Nonnull Class<M> measurementType) Execute a Flux against the Flux service.- Type Parameters:
M- the type of the measurement (POJO)- Parameters:
query- the flux query to executeorg- specifies the source organizationmeasurementType- the class type used to which will be result mapped- Returns:
Publisheremitting a POJO mapped tomeasurementTypewhich are matched the query or empty sequence if none found.
-
query
@Nonnull org.reactivestreams.Publisher<com.influxdb.query.FluxRecord> query(@Nonnull org.reactivestreams.Publisher<String> queryStream) ReturnsPublisheremittingFluxRecords which are matched the query. If none found than return empty sequence.The
InfluxDBClientOptions.getOrg()will be used as source organization.- Parameters:
queryStream- the Flux query publisher- Returns:
PublisherofFluxRecords
-
query
@Nonnull org.reactivestreams.Publisher<com.influxdb.query.FluxRecord> query(@Nonnull org.reactivestreams.Publisher<String> queryStream, @Nonnull String org) ReturnsPublisheremittingFluxRecords which are matched the query. If none found than return empty sequence.- Parameters:
queryStream- the Flux query publisherorg- specifies the source organization- Returns:
PublisherofFluxRecords
-
queryQuery
@Nonnull org.reactivestreams.Publisher<com.influxdb.query.FluxRecord> queryQuery(@Nonnull org.reactivestreams.Publisher<Query> queryStream, @Nonnull String org) ReturnsPublisheremittingFluxRecords which are matched the query. If none found than return empty sequence.- Parameters:
queryStream- the Flux query publisherorg- specifies the source organization- Returns:
PublisherofFluxRecords
-
query
@Nonnull <M> org.reactivestreams.Publisher<M> query(@Nonnull org.reactivestreams.Publisher<String> queryStream, @Nonnull Class<M> measurementType) Returns thePublisheremitting POJO stream.If none found than return empty sequence.
The
InfluxDBClientOptions.getOrg()will be used as source organization.- Type Parameters:
M- the type of the measurement (POJO)- Parameters:
queryStream- the Flux query publishermeasurementType- the measurement class (POJO)- Returns:
PublisherofFluxRecords
-
query
@Nonnull <M> org.reactivestreams.Publisher<M> query(@Nonnull org.reactivestreams.Publisher<String> queryStream, @Nonnull String org, @Nonnull Class<M> measurementType) Returns thePublisheremitting POJO stream.If none found than return empty sequence.
- Type Parameters:
M- the type of the measurement (POJO)- Parameters:
queryStream- the Flux query publisherorg- specifies the source organizationmeasurementType- the measurement class (POJO)- Returns:
PublisherofFluxRecords
-
queryRaw
ReturnsPublisheremitting raw response fromInfluxDB 2.x server line by line.The
InfluxDBClientOptions.getOrg()will be used as source organization.- Parameters:
query- the Flux query to execute- Returns:
Publisherof response lines
-
queryRaw
ReturnsPublisheremitting raw response fromInfluxDB 2.x server line by line.The
InfluxDBClientOptions.getOrg()will be used as source organization.- Parameters:
query- the Flux query to execute- Returns:
Publisherof response lines
-
queryRaw
ReturnsPublisheremitting raw response fromInfluxDB 2.x server line by line.- Parameters:
query- the Flux query to executeorg- specifies the source organization- Returns:
Publisherof response lines
-
queryRaw
@Nonnull org.reactivestreams.Publisher<String> queryRaw(@Nonnull org.reactivestreams.Publisher<String> queryStream) ReturnsPublisheremitting queryRaw response from InfluxDB server line by line.The
InfluxDBClientOptions.getOrg()will be used as source organization.- Parameters:
queryStream- the Flux query publisher- Returns:
Publisherof response lines
-
queryRaw
@Nonnull org.reactivestreams.Publisher<String> queryRaw(@Nonnull org.reactivestreams.Publisher<String> queryStream, @Nonnull String org) ReturnsPublisheremitting queryRaw response from InfluxDB server line by line.- Parameters:
queryStream- the Flux query publisherorg- specifies the source organization- Returns:
Publisherof response lines
-
queryRaw
@Nonnull org.reactivestreams.Publisher<String> queryRaw(@Nonnull String query, @Nullable Dialect dialect) ReturnsPublisheremitting queryRaw response fromInfluxDB 2.x server line by line.The
InfluxDBClientOptions.getOrg()will be used as source organization.- Parameters:
query- the Flux query to executedialect- Dialect is an object defining the options to use when encoding the response. See dialect SPEC..- Returns:
Publisherof response lines
-
queryRaw
@Nonnull org.reactivestreams.Publisher<String> queryRaw(@Nonnull String query, @Nullable Dialect dialect, @Nonnull String org) ReturnsPublisheremitting queryRaw response fromInfluxDB 2.x server line by line.- Parameters:
query- the Flux query to executedialect- Dialect is an object defining the options to use when encoding the response. See dialect SPEC..org- specifies the source organization- Returns:
Publisherof response lines
-
queryRaw
@Nonnull org.reactivestreams.Publisher<String> queryRaw(@Nonnull Query query, @Nullable Dialect dialect, @Nonnull String org) ReturnsPublisheremitting queryRaw response fromInfluxDB 2.x server line by line.- Parameters:
query- the Flux query to executedialect- Dialect is an object defining the options to use when encoding the response. See dialect SPEC..org- specifies the source organization- Returns:
Publisherof response lines
-
queryRaw
@Nonnull org.reactivestreams.Publisher<String> queryRaw(@Nonnull org.reactivestreams.Publisher<String> queryStream, @Nullable Dialect dialect) ReturnsPublisheremitting queryRaw response fromInfluxDB 2.x server line by line.The
InfluxDBClientOptions.getOrg()will be used as source organization.- Parameters:
queryStream- the Flux query publisherdialect- Dialect is an object defining the options to use when encoding the response. See dialect SPEC..- Returns:
Publisherof response lines
-
queryRaw
@Nonnull org.reactivestreams.Publisher<String> queryRaw(@Nonnull org.reactivestreams.Publisher<String> queryStream, @Nullable Dialect dialect, @Nonnull String org) ReturnsPublisheremitting queryRaw response fromInfluxDB 2.x server line by line.- Parameters:
queryStream- the Flux query publisherdialect- Dialect is an object defining the options to use when encoding the response. See dialect SPEC..org- specifies the source organization- Returns:
Publisherof response lines
-
queryRawQuery
org.reactivestreams.Publisher<String> queryRawQuery(@Nonnull org.reactivestreams.Publisher<Query> queryStream, @Nullable Dialect dialect, @Nonnull String org) ReturnsPublisheremitting queryRaw response fromInfluxDB 2.x server line by line.- Parameters:
queryStream- the Flux query publisherdialect- Dialect is an object defining the options to use when encoding the response. See dialect SPEC..org- specifies the source organization- Returns:
Publisherof response lines
-