trait QueryScalaApi extends AnyRef
The client that allows perform Flux queries against the InfluxDB /api/v2/query endpoint.
For parametrized queries use Query object, see com.influxdb.client.QueryApi in Java module for more details.
- Alphabetic
- By Inheritance
- QueryScalaApi
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def query[M](query: Query, org: String, measurementType: Class[M]): Source[M, NotUsed]
Executes the Flux query against the InfluxDB and asynchronously stream measurements to Stream.
Executes the Flux query against the InfluxDB and asynchronously stream measurements to Stream.
- M
the type of the measurement (POJO)
- query
the flux query to execute
- org
specifies the source organization
- measurementType
the measurement (POJO)
- returns
the stream of measurements
- Annotations
- @Nonnull()
- abstract def query[M](query: Query, measurementType: Class[M]): Source[M, NotUsed]
Executes the Flux query against the InfluxDB and asynchronously stream measurements to Stream.
Executes the Flux query against the InfluxDB and asynchronously stream measurements to Stream.
com.influxdb.client.InfluxDBClientOptions#getOrg() will be used as source organization.
- M
the type of the measurement (POJO)
- query
the flux query to execute
- measurementType
the measurement (POJO)
- returns
the stream of measurements
- Annotations
- @Nonnull()
- abstract def query[M](query: String, org: String, measurementType: Class[M]): Source[M, NotUsed]
Executes the Flux query against the InfluxDB and asynchronously stream measurements to Stream.
Executes the Flux query against the InfluxDB and asynchronously stream measurements to Stream.
- M
the type of the measurement (POJO)
- query
the flux query to execute
- org
specifies the source organization
- measurementType
the measurement (POJO)
- returns
the stream of measurements
- Annotations
- @Nonnull()
- abstract def query[M](query: String, measurementType: Class[M]): Source[M, NotUsed]
Executes the Flux query against the InfluxDB and asynchronously stream measurements to Stream.
Executes the Flux query against the InfluxDB and asynchronously stream measurements to Stream.
com.influxdb.client.InfluxDBClientOptions#getOrg() will be used as source organization.
- M
the type of the measurement (POJO)
- query
the flux query to execute
- measurementType
the measurement (POJO)
- returns
the stream of measurements
- Annotations
- @Nonnull()
- abstract def query(query: Query, org: String): Source[FluxRecord, NotUsed]
Executes the Flux query against the InfluxDB and asynchronously stream FluxRecords to Stream.
Executes the Flux query against the InfluxDB and asynchronously stream FluxRecords to Stream.
- query
the flux query to execute
- org
specifies the source organization
- returns
the stream of FluxRecords
- Annotations
- @Nonnull()
- abstract def query(query: Query): Source[FluxRecord, NotUsed]
Executes the Flux query against the InfluxDB and asynchronously stream FluxRecords to Stream.
Executes the Flux query against the InfluxDB and asynchronously stream FluxRecords to Stream.
com.influxdb.client.InfluxDBClientOptions#getOrg() will be used as source organization.
- query
the flux query to execute
- returns
the stream of FluxRecords
- Annotations
- @Nonnull()
- abstract def query(query: String, org: String): Source[FluxRecord, NotUsed]
Executes the Flux query against the InfluxDB and asynchronously stream FluxRecords to Stream.
Executes the Flux query against the InfluxDB and asynchronously stream FluxRecords to Stream.
- query
the flux query to execute
- org
specifies the source organization
- returns
the stream of FluxRecords
- Annotations
- @Nonnull()
- abstract def query(query: String): Source[FluxRecord, NotUsed]
Executes the Flux query against the InfluxDB and asynchronously stream FluxRecords to Stream.
Executes the Flux query against the InfluxDB and asynchronously stream FluxRecords to Stream.
com.influxdb.client.InfluxDBClientOptions#getOrg() will be used as source organization.
- query
the flux query to execute
- returns
the stream of FluxRecords
- Annotations
- @Nonnull()
- abstract def queryRaw(query: Query, org: String): Source[String, NotUsed]
Executes the Flux query against the InfluxDB and asynchronously stream response to Stream.
Executes the Flux query against the InfluxDB and asynchronously stream response to Stream.
- query
the flux query to execute
- org
specifies the source organization
- returns
the response stream
- Annotations
- @Nonnull()
- abstract def queryRaw(query: Query): Source[String, NotUsed]
Executes the Flux query against the InfluxDB and asynchronously stream response to Stream.
Executes the Flux query against the InfluxDB and asynchronously stream response to Stream.
com.influxdb.client.InfluxDBClientOptions#getOrg() will be used as source organization.
- query
the flux query to execute
- returns
the response stream
- Annotations
- @Nonnull()
- abstract def queryRaw(query: String, dialect: Dialect, org: String): Source[String, NotUsed]
Executes the Flux query against the InfluxDB and asynchronously stream response to Stream.
Executes the Flux query against the InfluxDB and asynchronously stream response to Stream.
- query
the flux query to execute
- dialect
Dialect is an object defining the options to use when encoding the response. See dialect SPEC.
- org
specifies the source organization
- returns
the response stream
- Annotations
- @Nonnull()
- abstract def queryRaw(query: String, dialect: Dialect): Source[String, NotUsed]
Executes the Flux query against the InfluxDB and asynchronously stream response to Stream.
Executes the Flux query against the InfluxDB and asynchronously stream response to Stream.
com.influxdb.client.InfluxDBClientOptions#getOrg() will be used as source organization.
- query
the flux query to execute
- dialect
Dialect is an object defining the options to use when encoding the response. See dialect SPEC.
- returns
the response stream
- Annotations
- @Nonnull()
- abstract def queryRaw(query: String, org: String): Source[String, NotUsed]
Executes the Flux query against the InfluxDB and asynchronously stream response to Stream.
Executes the Flux query against the InfluxDB and asynchronously stream response to Stream.
- query
the flux query to execute
- org
specifies the source organization
- returns
the response stream
- Annotations
- @Nonnull()
- abstract def queryRaw(query: String): Source[String, NotUsed]
Executes the Flux query against the InfluxDB and asynchronously stream response to Stream.
Executes the Flux query against the InfluxDB and asynchronously stream response to Stream.
com.influxdb.client.InfluxDBClientOptions#getOrg() will be used as source organization.
- query
the flux query to execute
- returns
the response stream
- Annotations
- @Nonnull()
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