| Package | Description |
|---|---|
| com.influxdb.client | |
| com.influxdb.client.domain | |
| com.influxdb.client.service |
| Modifier and Type | Method and Description |
|---|---|
List<FluxTable> |
QueryApi.query(Query query)
Executes the Flux query against the InfluxDB 2.x and synchronously map whole response
to
List<FluxTable>. |
void |
QueryApi.query(Query query,
BiConsumer<Cancellable,FluxRecord> onNext)
Executes the Flux query against the InfluxDB 2.x and asynchronously stream
FluxRecords
to onNext consumer. |
void |
QueryApi.query(Query query,
BiConsumer<Cancellable,FluxRecord> onNext,
Consumer<? super Throwable> onError)
Executes the Flux query against the InfluxDB 2.x and asynchronously stream
FluxRecords
to onNext consumer. |
void |
QueryApi.query(Query query,
BiConsumer<Cancellable,FluxRecord> onNext,
Consumer<? super Throwable> onError,
Runnable onComplete)
Executes the Flux query against the InfluxDB 2.x and asynchronously stream
FluxRecords
to onNext consumer. |
<M> List<M> |
QueryApi.query(Query query,
Class<M> measurementType)
Executes the Flux query against the InfluxDB 2.x and synchronously map whole response
to list of object with given type.
|
<M> void |
QueryApi.query(Query query,
Class<M> measurementType,
BiConsumer<Cancellable,M> onNext)
Executes the Flux query against the InfluxDB 2.x and asynchronously stream POJO classes
to
onNext consumer. |
<M> void |
QueryApi.query(Query query,
Class<M> measurementType,
BiConsumer<Cancellable,M> onNext,
Consumer<? super Throwable> onError)
Executes the Flux query against the InfluxDB 2.x and asynchronously stream POJO classes
to
onNext consumer. |
<M> void |
QueryApi.query(Query query,
Class<M> measurementType,
BiConsumer<Cancellable,M> onNext,
Consumer<? super Throwable> onError,
Runnable onComplete)
Executes the Flux query and asynchronously stream result as POJO.
|
List<FluxTable> |
QueryApi.query(Query query,
String org)
Executes the Flux query against the InfluxDB 2.x and synchronously map whole response
to
List<FluxTable>. |
void |
QueryApi.query(Query query,
String org,
BiConsumer<Cancellable,FluxRecord> onNext)
Executes the Flux query against the InfluxDB 2.x and asynchronously stream
FluxRecords
to onNext consumer. |
void |
QueryApi.query(Query query,
String org,
BiConsumer<Cancellable,FluxRecord> onNext,
Consumer<? super Throwable> onError)
Executes the Flux query against the InfluxDB 2.x and asynchronously stream
FluxRecords
to onNext consumer. |
void |
QueryApi.query(Query query,
String org,
BiConsumer<Cancellable,FluxRecord> onNext,
Consumer<? super Throwable> onError,
Runnable onComplete)
Executes the Flux query against the InfluxDB 2.x and asynchronously stream
FluxRecords
to onNext consumer. |
<M> List<M> |
QueryApi.query(Query query,
String org,
Class<M> measurementType)
Executes the Flux query against the InfluxDB 2.x and synchronously map whole response
to list of object with given type.
|
<M> void |
QueryApi.query(Query query,
String org,
Class<M> measurementType,
BiConsumer<Cancellable,M> onNext)
Executes the Flux query against the InfluxDB 2.x and asynchronously stream POJO classes
to
onNext consumer. |
<M> void |
QueryApi.query(Query query,
String org,
Class<M> measurementType,
BiConsumer<Cancellable,M> onNext,
Consumer<? super Throwable> onError)
Executes the Flux query against the InfluxDB 2.x and asynchronously stream POJO classes
to
onNext consumer. |
<M> void |
QueryApi.query(Query query,
String org,
Class<M> measurementType,
BiConsumer<Cancellable,M> onNext,
Consumer<? super Throwable> onError,
Runnable onComplete)
Executes the Flux query and asynchronously stream result as POJO.
|
String |
QueryApi.queryRaw(Query query)
Executes the Flux query against the InfluxDB 2.x and synchronously map whole response
to
String result. |
void |
QueryApi.queryRaw(Query query,
BiConsumer<Cancellable,String> onResponse)
Executes the Flux query against the InfluxDB 2.x and asynchronously stream response
(line by line) to
onResponse. |
void |
QueryApi.queryRaw(Query query,
BiConsumer<Cancellable,String> onResponse,
Consumer<? super Throwable> onError)
Executes the Flux query against the InfluxDB 2.x and asynchronously stream response
(line by line) to
onResponse. |
void |
QueryApi.queryRaw(Query query,
BiConsumer<Cancellable,String> onResponse,
Consumer<? super Throwable> onError,
Runnable onComplete)
Executes the Flux query against the InfluxDB 2.x and asynchronously stream response
(line by line) to
onResponse. |
String |
QueryApi.queryRaw(Query query,
String org)
Executes the Flux query against the InfluxDB 2.x and synchronously map whole response
to
String result. |
void |
QueryApi.queryRaw(Query query,
String org,
BiConsumer<Cancellable,String> onResponse)
Executes the Flux query against the InfluxDB 2.x and asynchronously stream response
(line by line) to
onResponse. |
void |
QueryApi.queryRaw(Query query,
String org,
BiConsumer<Cancellable,String> onResponse,
Consumer<? super Throwable> onError)
Executes the Flux query against the InfluxDB 2.x and asynchronously stream response
(line by line) to
onResponse. |
void |
QueryApi.queryRaw(Query query,
String org,
BiConsumer<Cancellable,String> onResponse,
Consumer<? super Throwable> onError,
Runnable onComplete)
Executes the Flux query against the InfluxDB 2.x and asynchronously stream response
(line by line) to
onResponse. |
| Modifier and Type | Method and Description |
|---|---|
Query |
Query.dialect(Dialect dialect) |
Query |
Query.extern(File extern) |
Query |
Query.now(OffsetDateTime now) |
Query |
Query.params(Map<String,Object> params) |
Query |
Query.putParamsItem(String key,
Object paramsItem) |
Query |
Query.query(String query) |
| Modifier and Type | Method and Description |
|---|---|
retrofit2.Call<String> |
QueryService.postQuery(String zapTraceSpan,
String acceptEncoding,
String contentType,
String org,
String orgID,
Query query)
Query data
Retrieves data from InfluxDB buckets.
|
retrofit2.Call<AnalyzeQueryResponse> |
QueryService.postQueryAnalyze(String zapTraceSpan,
String contentType,
Query query)
Analyze a Flux query
|
retrofit2.Call<okhttp3.ResponseBody> |
QueryService.postQueryResponseBody(String zapTraceSpan,
String acceptEncoding,
String contentType,
String org,
String orgID,
Query query)
Query data
Retrieves data from InfluxDB buckets.
|
Copyright © 2018–2023 InfluxData, Inc.. All rights reserved.