Packages

c

com.influxdb.client.scala.internal

WriteScalaApiImpl

class WriteScalaApiImpl extends AbstractWriteBlockingClient with WriteScalaApi

Linear Supertypes
WriteScalaApi, AbstractWriteBlockingClient, AbstractRestClient, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WriteScalaApiImpl
  2. WriteScalaApi
  3. AbstractWriteBlockingClient
  4. AbstractRestClient
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new WriteScalaApiImpl(service: WriteService, options: InfluxDBClientOptions)

Value Members

  1. def writeMeasurement[M](precision: Option[WritePrecision], bucket: Option[String], org: Option[String]): Sink[M, Future[Done]]

    Write Measurement into specified bucket.

    Write Measurement into specified bucket.

    M

    the type of the measurement (POJO)

    precision

    Precision for the unix timestamps within the body line-protocol. The com.influxdb.client.domain.WritePrecision.NS will be used as the precision if not specified.

    bucket

    Specifies the destination bucket for writes. The com.influxdb.client.InfluxDBClientOptions#getBucket will be used as the destination bucket if the bucket is not specified.

    org

    Specifies the destination organization for writes. The com.influxdb.client.InfluxDBClientOptions#getOrg will be used as the destination organization if the org is not specified.

    returns

    the sink that accept the measurement.

    Definition Classes
    WriteScalaApiImplWriteScalaApi
  2. def writeMeasurements[M](parameters: WriteParameters): Sink[Seq[M], Future[Done]]

    Write Measurements into specified bucket.

    Write Measurements into specified bucket.

    M

    the type of the measurement (POJO)

    parameters

    specify InfluxDB Write endpoint parameters

    returns

    the sink that accept the measurements.

    Definition Classes
    WriteScalaApiImplWriteScalaApi
  3. def writeMeasurements[M](precision: Option[WritePrecision], bucket: Option[String], org: Option[String]): Sink[Seq[M], Future[Done]]

    Write Measurements into specified bucket.

    Write Measurements into specified bucket.

    M

    the type of the measurement (POJO)

    precision

    Precision for the unix timestamps within the body line-protocol. The com.influxdb.client.domain.WritePrecision.NS will be used as the precision if not specified.

    bucket

    Specifies the destination bucket for writes. The com.influxdb.client.InfluxDBClientOptions#getBucket will be used as the destination bucket if the bucket is not specified.

    org

    Specifies the destination organization for writes. The com.influxdb.client.InfluxDBClientOptions#getOrg will be used as the destination organization if the org is not specified.

    returns

    the sink that accept the measurements.

    Definition Classes
    WriteScalaApiImplWriteScalaApi
  4. def writePoint(bucket: Option[String], org: Option[String]): Sink[Point, Future[Done]]

    Write Data points into specified bucket.

    Write Data points into specified bucket.

    bucket

    Specifies the destination bucket for writes. The com.influxdb.client.InfluxDBClientOptions#getBucket will be used as the destination bucket if the bucket is not specified.

    org

    Specifies the destination organization for writes. The com.influxdb.client.InfluxDBClientOptions#getOrg will be used as the destination organization if the org is not specified.

    returns

    the sink that accept the Data points.

    Definition Classes
    WriteScalaApiImplWriteScalaApi
  5. def writePoints(parameters: WriteParameters): Sink[Seq[Point], Future[Done]]

    Write Data points into specified bucket.

    Write Data points into specified bucket.

    parameters

    specify InfluxDB Write endpoint parameters

    returns

    the sink that accept the Data points.

    Definition Classes
    WriteScalaApiImplWriteScalaApi
  6. def writePoints(bucket: Option[String], org: Option[String]): Sink[Seq[Point], Future[Done]]

    Write Data points into specified bucket.

    Write Data points into specified bucket.

    bucket

    Specifies the destination bucket for writes. The com.influxdb.client.InfluxDBClientOptions#getBucket will be used as the destination bucket if the bucket is not specified.

    org

    Specifies the destination organization for writes. The com.influxdb.client.InfluxDBClientOptions#getOrg will be used as the destination organization if the org is not specified.

    returns

    the sink that accept the Data points.

    Definition Classes
    WriteScalaApiImplWriteScalaApi
  7. def writeRecord(precision: Option[WritePrecision], bucket: Option[String], org: Option[String]): Sink[String, Future[Done]]

    Write Line Protocol record into specified bucket.

    Write Line Protocol record into specified bucket.

    precision

    Precision for the unix timestamps within the body line-protocol. The com.influxdb.client.domain.WritePrecision.NS will be used as the precision if not specified.

    bucket

    Specifies the destination bucket for writes. The com.influxdb.client.InfluxDBClientOptions#getBucket will be used as the destination bucket if the bucket is not specified.

    org

    Specifies the destination organization for writes. The com.influxdb.client.InfluxDBClientOptions#getOrg will be used as the destination organization if the org is not specified.

    returns

    the sink that accept the record specified in InfluxDB Line Protocol.

    Definition Classes
    WriteScalaApiImplWriteScalaApi
  8. def writeRecords(parameters: WriteParameters): Sink[Seq[String], Future[Done]]

    Write Line Protocol records into specified bucket.

    Write Line Protocol records into specified bucket.

    parameters

    specify InfluxDB Write endpoint parameters

    returns

    the sink that accept the records specified in InfluxDB Line Protocol.

    Definition Classes
    WriteScalaApiImplWriteScalaApi
  9. def writeRecords(precision: Option[WritePrecision], bucket: Option[String], org: Option[String]): Sink[Seq[String], Future[Done]]

    Write Line Protocol records into specified bucket.

    Write Line Protocol records into specified bucket.

    precision

    Precision for the unix timestamps within the body line-protocol. The com.influxdb.client.domain.WritePrecision.NS will be used as the precision if not specified.

    bucket

    Specifies the destination bucket for writes. The com.influxdb.client.InfluxDBClientOptions#getBucket will be used as the destination bucket if the bucket is not specified.

    org

    Specifies the destination organization for writes. The com.influxdb.client.InfluxDBClientOptions#getOrg will be used as the destination organization if the org is not specified.

    returns

    the sink that accept the records specified in InfluxDB Line Protocol.

    Definition Classes
    WriteScalaApiImplWriteScalaApi