Packages

t

com.influxdb.client.scala

QueryScalaApi

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.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. QueryScalaApi
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. 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()
  2. 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()
  3. 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()
  4. 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()
  5. 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()
  6. 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()
  7. 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()
  8. 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()
  9. 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()
  10. 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()
  11. 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()
  12. 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()
  13. 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()
  14. 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()