Class InfluxDBClientReactiveImpl
java.lang.Object
com.influxdb.internal.AbstractRestClient
com.influxdb.client.internal.AbstractInfluxDBClient
com.influxdb.client.reactive.internal.InfluxDBClientReactiveImpl
- All Implemented Interfaces:
InfluxDBClientReactive,AutoCloseable
public class InfluxDBClientReactiveImpl
extends AbstractInfluxDBClient
implements InfluxDBClientReactive
- Author:
- Jakub Bednar (bednar@github) (20/11/2018 07:12)
-
Field Summary
Fields inherited from class com.influxdb.client.internal.AbstractInfluxDBClient
autoCloseables, DEFAULT_DIALECT, gzipInterceptor, healthService, loggingInterceptor, options, pingService, retrofit -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDisable Gzip compress for http request body.Enable Gzip compress for http requests.com.influxdb.LogLevelCreate a new Query client.Create a new Write client.getWriteReactiveApi(WriteOptionsReactive writeOptions) Create a new Write client.org.reactivestreams.Publisher<HealthCheck> health()Get the health of an instance.booleanReturns whether Gzip compress for http request body is enabled.setLogLevel(com.influxdb.LogLevel logLevel) Set the log level for the request and response information.Methods inherited from class com.influxdb.client.internal.AbstractInfluxDBClient
close, healthMethods inherited from class com.influxdb.internal.AbstractRestClient
execute, getLogLevel, ping, responseToError, setLogLevel, toInfluxException, versionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.influxdb.client.reactive.InfluxDBClientReactive
close
-
Constructor Details
-
InfluxDBClientReactiveImpl
-
-
Method Details
-
getQueryReactiveApi
Description copied from interface:InfluxDBClientReactiveCreate a new Query client.- Specified by:
getQueryReactiveApiin interfaceInfluxDBClientReactive- Returns:
- the new client instance for the Query API
-
getWriteReactiveApi
Description copied from interface:InfluxDBClientReactiveCreate a new Write client.- Specified by:
getWriteReactiveApiin interfaceInfluxDBClientReactive- Returns:
- the new client instance for the Write API
-
getWriteReactiveApi
Description copied from interface:InfluxDBClientReactiveCreate a new Write client.- Specified by:
getWriteReactiveApiin interfaceInfluxDBClientReactive- Parameters:
writeOptions- the writes configuration- Returns:
- the new client instance for the Write API
-
health
Description copied from interface:InfluxDBClientReactiveGet the health of an instance.- Specified by:
healthin interfaceInfluxDBClientReactive- Returns:
- health of an instance
-
getLogLevel
@Nonnull public com.influxdb.LogLevel getLogLevel()- Specified by:
getLogLevelin interfaceInfluxDBClientReactive- Returns:
- the
LogLevelthat is used for logging requests and responses
-
setLogLevel
Description copied from interface:InfluxDBClientReactiveSet the log level for the request and response information.- Specified by:
setLogLevelin interfaceInfluxDBClientReactive- Parameters:
logLevel- the log level to set.- Returns:
- the InfluxDBClient instance to be able to use it in a fluent manner.
-
enableGzip
Description copied from interface:InfluxDBClientReactiveEnable Gzip compress for http requests. Currently only the "Write" and "Query" endpoints supports the Gzip compression.- Specified by:
enableGzipin interfaceInfluxDBClientReactive- Returns:
- the
InfluxDBClientinstance to be able to use it in a fluent manner.
-
disableGzip
Description copied from interface:InfluxDBClientReactiveDisable Gzip compress for http request body.- Specified by:
disableGzipin interfaceInfluxDBClientReactive- Returns:
- the
InfluxDBClientinstance to be able to use it in a fluent manner.
-
isGzipEnabled
public boolean isGzipEnabled()Description copied from interface:InfluxDBClientReactiveReturns whether Gzip compress for http request body is enabled.- Specified by:
isGzipEnabledin interfaceInfluxDBClientReactive- Returns:
- true if gzip is enabled.
-