trait InfluxDBClientScala extends AnyRef
The reference Scala client that allows query and write for the InfluxDB 2.x by Pekko Streams.
- Alphabetic
- By Inheritance
- InfluxDBClientScala
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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 getWriteScalaApi: WriteScalaApi
Create a new WriteApi client.
Create a new WriteApi client.
- returns
the new client instance for the Write 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(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- 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() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
- Deprecated