public abstract class AbstractInfluxDBClient extends AbstractRestClient
Modifier and Type | Field and Description |
---|---|
protected Collection<AutoCloseable> |
autoCloseables |
static Dialect |
DEFAULT_DIALECT |
protected GzipInterceptor |
gzipInterceptor |
HealthService |
healthService |
protected okhttp3.logging.HttpLoggingInterceptor |
loggingInterceptor |
protected InfluxDBClientOptions |
options |
protected retrofit2.Retrofit |
retrofit |
Constructor and Description |
---|
AbstractInfluxDBClient(InfluxDBClientOptions options,
String clientType) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected HealthCheck |
health(retrofit2.Call<HealthCheck> healthCall) |
execute, getLogLevel, responseToError, setLogLevel
public static final Dialect DEFAULT_DIALECT
public final HealthService healthService
protected final retrofit2.Retrofit retrofit
protected final InfluxDBClientOptions options
protected final okhttp3.logging.HttpLoggingInterceptor loggingInterceptor
protected final GzipInterceptor gzipInterceptor
protected final Collection<AutoCloseable> autoCloseables
public AbstractInfluxDBClient(@Nonnull InfluxDBClientOptions options, @Nonnull String clientType)
public void close()
@Nonnull protected HealthCheck health(retrofit2.Call<HealthCheck> healthCall)
Copyright © 2018–2021 InfluxData, Inc.. All rights reserved.