Package com.influxdb.internal
Class AbstractQueryApi
java.lang.Object
com.influxdb.internal.AbstractRestClient
com.influxdb.internal.AbstractQueryApi
- Direct Known Subclasses:
FluxApiImpl
,InfluxQLQueryApiImpl
- Author:
- Jakub Bednar (bednar@github) (17/10/201AbstractQueryApi8 11:20)
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected final class
protected final class
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final String
protected static final Runnable
protected final FluxCsvParser
protected static final Logger
protected final FluxResultMapper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected okhttp3.RequestBody
createBody
(String dialect, String query) protected void
query
(retrofit2.Call<okhttp3.ResponseBody> queryCall, FluxCsvParser.FluxResponseConsumer responseConsumer, Consumer<? super Throwable> onError, Runnable onComplete, Boolean asynchronously) protected void
query
(retrofit2.Call<okhttp3.ResponseBody> query, BiConsumer<Cancellable, okio.BufferedSource> consumer, Consumer<? super Throwable> onError, Runnable onComplete, Boolean asynchronously) protected AbstractQueryApi.FluxRecordIterator
queryIterator
(retrofit2.Call<okhttp3.ResponseBody> queryCall) protected void
queryRaw
(retrofit2.Call<okhttp3.ResponseBody> queryCall, BiConsumer<Cancellable, String> onResponse, Consumer<? super Throwable> onError, Runnable onComplete, Boolean asynchronously) protected AbstractQueryApi.RawIterator
queryRawIterator
(retrofit2.Call<okhttp3.ResponseBody> queryCall) Methods inherited from class com.influxdb.internal.AbstractRestClient
execute, getLogLevel, ping, responseToError, setLogLevel, toInfluxException, version
-
Field Details
-
LOG
-
fluxCsvParser
-
resultMapper
-
EMPTY_ACTION
-
DEFAULT_DIALECT
-
ERROR_CONSUMER
-
-
Constructor Details
-
AbstractQueryApi
protected AbstractQueryApi() -
AbstractQueryApi
-
-
Method Details
-
createBody
-
query
protected void query(@Nonnull retrofit2.Call<okhttp3.ResponseBody> queryCall, @Nonnull FluxCsvParser.FluxResponseConsumer responseConsumer, @Nonnull Consumer<? super Throwable> onError, @Nonnull Runnable onComplete, @Nonnull Boolean asynchronously) -
queryIterator
protected AbstractQueryApi.FluxRecordIterator queryIterator(@Nonnull retrofit2.Call<okhttp3.ResponseBody> queryCall) -
queryRaw
protected void queryRaw(@Nonnull retrofit2.Call<okhttp3.ResponseBody> queryCall, @Nonnull BiConsumer<Cancellable, String> onResponse, @Nonnull Consumer<? super Throwable> onError, @Nonnull Runnable onComplete, @Nonnull Boolean asynchronously) -
queryRawIterator
protected AbstractQueryApi.RawIterator queryRawIterator(@Nonnull retrofit2.Call<okhttp3.ResponseBody> queryCall) -
query
protected void query(@Nonnull retrofit2.Call<okhttp3.ResponseBody> query, @Nonnull BiConsumer<Cancellable, okio.BufferedSource> consumer, @Nonnull Consumer<? super Throwable> onError, @Nonnull Runnable onComplete, @Nonnull Boolean asynchronously)
-