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> ReturnsPublisher
emittingFluxRecord
s which are matched the query.org.reactivestreams.Publisher
<com.influxdb.query.FluxRecord> ReturnsPublisher
emittingFluxRecord
s which are matched the query.<M> org.reactivestreams.Publisher
<M> Execute a Flux against the Flux service.org.reactivestreams.Publisher
<com.influxdb.query.FluxRecord> ReturnsPublisher
emittingFluxRecord
s which are matched the query.<M> org.reactivestreams.Publisher
<M> Execute a Flux against the Flux service.org.reactivestreams.Publisher
<com.influxdb.query.FluxRecord> ReturnsPublisher
emittingFluxRecord
s which are matched the query.<M> org.reactivestreams.Publisher
<M> Execute a Flux against the Flux service.org.reactivestreams.Publisher
<com.influxdb.query.FluxRecord> ReturnsPublisher
emittingFluxRecord
s which are matched the query.<M> org.reactivestreams.Publisher
<M> Returns thePublisher
emitting POJO stream.org.reactivestreams.Publisher
<com.influxdb.query.FluxRecord> ReturnsPublisher
emittingFluxRecord
s which are matched the query.<M> org.reactivestreams.Publisher
<M> Returns thePublisher
emitting POJO stream.org.reactivestreams.Publisher
<com.influxdb.query.FluxRecord> queryQuery
(org.reactivestreams.Publisher<Query> queryStream, String org) ReturnsPublisher
emittingFluxRecord
s which are matched the query.org.reactivestreams.Publisher
<String> ReturnsPublisher
emitting raw response fromInfluxDB 2.x server line by line.org.reactivestreams.Publisher
<String> ReturnsPublisher
emitting queryRaw response fromInfluxDB 2.x server line by line.org.reactivestreams.Publisher
<String> ReturnsPublisher
emitting raw response fromInfluxDB 2.x server line by line.org.reactivestreams.Publisher
<String> ReturnsPublisher
emitting queryRaw response fromInfluxDB 2.x server line by line.org.reactivestreams.Publisher
<String> ReturnsPublisher
emitting queryRaw response fromInfluxDB 2.x server line by line.org.reactivestreams.Publisher
<String> ReturnsPublisher
emitting raw response fromInfluxDB 2.x server line by line.org.reactivestreams.Publisher
<String> ReturnsPublisher
emitting queryRaw response from InfluxDB server line by line.org.reactivestreams.Publisher
<String> ReturnsPublisher
emitting queryRaw response fromInfluxDB 2.x server line by line.org.reactivestreams.Publisher
<String> ReturnsPublisher
emitting queryRaw response fromInfluxDB 2.x server line by line.org.reactivestreams.Publisher
<String> ReturnsPublisher
emitting queryRaw response from InfluxDB server line by line.org.reactivestreams.Publisher
<String> queryRawQuery
(org.reactivestreams.Publisher<Query> queryStream, Dialect dialect, String org) ReturnsPublisher
emitting queryRaw response fromInfluxDB 2.x server line by line.
-
Method Details
-
query
ReturnsPublisher
emittingFluxRecord
s 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:
Publisher
ofFluxRecord
s
-
query
ReturnsPublisher
emittingFluxRecord
s 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:
Publisher
ofFluxRecord
s
-
query
@Nonnull org.reactivestreams.Publisher<com.influxdb.query.FluxRecord> query(@Nonnull String query, @Nonnull String org) ReturnsPublisher
emittingFluxRecord
s which are matched the query. If none found than return empty sequence.- Parameters:
query
- the Flux query to executeorg
- specifies the source organization- Returns:
Publisher
ofFluxRecord
s
-
query
@Nonnull org.reactivestreams.Publisher<com.influxdb.query.FluxRecord> query(@Nonnull Query query, @Nonnull String org) ReturnsPublisher
emittingFluxRecord
s which are matched the query. If none found than return empty sequence.- Parameters:
query
- the Flux query to executeorg
- specifies the source organization- Returns:
Publisher
ofFluxRecord
s
-
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:
Publisher
emitting a POJO mapped tomeasurementType
which 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:
Publisher
emitting a POJO mapped tomeasurementType
which 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:
Publisher
emitting a POJO mapped tomeasurementType
which 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) ReturnsPublisher
emittingFluxRecord
s 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:
Publisher
ofFluxRecord
s
-
query
@Nonnull org.reactivestreams.Publisher<com.influxdb.query.FluxRecord> query(@Nonnull org.reactivestreams.Publisher<String> queryStream, @Nonnull String org) ReturnsPublisher
emittingFluxRecord
s which are matched the query. If none found than return empty sequence.- Parameters:
queryStream
- the Flux query publisherorg
- specifies the source organization- Returns:
Publisher
ofFluxRecord
s
-
queryQuery
@Nonnull org.reactivestreams.Publisher<com.influxdb.query.FluxRecord> queryQuery(@Nonnull org.reactivestreams.Publisher<Query> queryStream, @Nonnull String org) ReturnsPublisher
emittingFluxRecord
s which are matched the query. If none found than return empty sequence.- Parameters:
queryStream
- the Flux query publisherorg
- specifies the source organization- Returns:
Publisher
ofFluxRecord
s
-
query
@Nonnull <M> org.reactivestreams.Publisher<M> query(@Nonnull org.reactivestreams.Publisher<String> queryStream, @Nonnull Class<M> measurementType) Returns thePublisher
emitting 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:
Publisher
ofFluxRecord
s
-
query
@Nonnull <M> org.reactivestreams.Publisher<M> query(@Nonnull org.reactivestreams.Publisher<String> queryStream, @Nonnull String org, @Nonnull Class<M> measurementType) Returns thePublisher
emitting 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:
Publisher
ofFluxRecord
s
-
queryRaw
ReturnsPublisher
emitting 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:
Publisher
of response lines
-
queryRaw
ReturnsPublisher
emitting 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:
Publisher
of response lines
-
queryRaw
ReturnsPublisher
emitting raw response fromInfluxDB 2.x server line by line.- Parameters:
query
- the Flux query to executeorg
- specifies the source organization- Returns:
Publisher
of response lines
-
queryRaw
@Nonnull org.reactivestreams.Publisher<String> queryRaw(@Nonnull org.reactivestreams.Publisher<String> queryStream) ReturnsPublisher
emitting queryRaw response from InfluxDB server line by line.The
InfluxDBClientOptions.getOrg()
will be used as source organization.- Parameters:
queryStream
- the Flux query publisher- Returns:
Publisher
of response lines
-
queryRaw
@Nonnull org.reactivestreams.Publisher<String> queryRaw(@Nonnull org.reactivestreams.Publisher<String> queryStream, @Nonnull String org) ReturnsPublisher
emitting queryRaw response from InfluxDB server line by line.- Parameters:
queryStream
- the Flux query publisherorg
- specifies the source organization- Returns:
Publisher
of response lines
-
queryRaw
@Nonnull org.reactivestreams.Publisher<String> queryRaw(@Nonnull String query, @Nullable Dialect dialect) ReturnsPublisher
emitting 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:
Publisher
of response lines
-
queryRaw
@Nonnull org.reactivestreams.Publisher<String> queryRaw(@Nonnull String query, @Nullable Dialect dialect, @Nonnull String org) ReturnsPublisher
emitting 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:
Publisher
of response lines
-
queryRaw
@Nonnull org.reactivestreams.Publisher<String> queryRaw(@Nonnull Query query, @Nullable Dialect dialect, @Nonnull String org) ReturnsPublisher
emitting 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:
Publisher
of response lines
-
queryRaw
@Nonnull org.reactivestreams.Publisher<String> queryRaw(@Nonnull org.reactivestreams.Publisher<String> queryStream, @Nullable Dialect dialect) ReturnsPublisher
emitting 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:
Publisher
of response lines
-
queryRaw
@Nonnull org.reactivestreams.Publisher<String> queryRaw(@Nonnull org.reactivestreams.Publisher<String> queryStream, @Nullable Dialect dialect, @Nonnull String org) ReturnsPublisher
emitting 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:
Publisher
of response lines
-
queryRawQuery
org.reactivestreams.Publisher<String> queryRawQuery(@Nonnull org.reactivestreams.Publisher<Query> queryStream, @Nullable Dialect dialect, @Nonnull String org) ReturnsPublisher
emitting 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:
Publisher
of response lines
-