trait InfluxDBClientScala extends AnyRef
The reference Scala client that allows query and write for the InfluxDB 2.0 by Akka Streams.
- Alphabetic
- By Inheritance
- InfluxDBClientScala
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
close(): Unit
Shutdown and close the client.
-
abstract
def
disableGzip(): InfluxDBClientScala
Disable Gzip compress for http request body.
Disable Gzip compress for http request body.
- returns
the InfluxDBClientScala instance to be able to use it in a fluent manner.
- Annotations
- @Nonnull()
-
abstract
def
enableGzip(): InfluxDBClientScala
Enable Gzip compress for http requests.
Enable Gzip compress for http requests.
Currently only the "Write" and "Query" endpoints supports the Gzip compression.
- returns
the InfluxDBClientScala instance to be able to use it in a fluent manner.
- Annotations
- @Nonnull()
-
abstract
def
getLogLevel: LogLevel
Gets the LogLevel that is used for logging requests and responses.
Gets the LogLevel that is used for logging requests and responses.
- returns
the LogLevel that is used for logging requests and responses
- Annotations
- @Nonnull()
-
abstract
def
getQueryScalaApi(): QueryScalaApi
Create a new Query client.
Create a new Query client.
- returns
the new client instance for the Query API
- Annotations
- @Nonnull()
-
abstract
def
isGzipEnabled: Boolean
Returns whether Gzip compress for http request body is enabled.
Returns whether Gzip compress for http request body is enabled.
- returns
true if gzip is enabled.
- Annotations
- @Nonnull()
-
abstract
def
ping: Boolean
Check the status of InfluxDB Server.
Check the status of InfluxDB Server.
- returns
true if server is healthy otherwise return false
- Annotations
- @Nonnull()
-
abstract
def
setLogLevel(logLevel: LogLevel): InfluxDBClientScala
Sets the log level for the request and response information.
Sets the log level for the request and response information.
- logLevel
the log level to set.
- returns
the InfluxDBClientScala instance to be able to use it in a fluent manner.
- Annotations
- @Nonnull()
-
abstract
def
version: String
Returns the version of the connected InfluxDB Server.
Returns the version of the connected InfluxDB Server.
- returns
the version String, otherwise unknown.
- Annotations
- @Nonnull()
-
abstract
def
health: HealthCheck
Get the health of an instance.
Get the health of an instance.
- returns
health of an instance
- Annotations
- @deprecated @Nonnull()
- Deprecated
This method is obsolete. Use
ping()orversion()
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()