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()