class WriteScalaApiImpl extends AbstractWriteBlockingClient with WriteScalaApi
- Alphabetic
- By Inheritance
- WriteScalaApiImpl
- WriteScalaApi
- AbstractWriteBlockingClient
- AbstractRestClient
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new WriteScalaApiImpl(service: WriteService, options: InfluxDBClientOptions)
Value Members
- 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 thebucket
is not specified.- org
Specifies the destination organization for writes. The com.influxdb.client.InfluxDBClientOptions#getOrg will be used as the destination
organization
if theorg
is not specified.- returns
the sink that accept the measurement.
- Definition Classes
- WriteScalaApiImpl → WriteScalaApi
- 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
- WriteScalaApiImpl → WriteScalaApi
- 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 thebucket
is not specified.- org
Specifies the destination organization for writes. The com.influxdb.client.InfluxDBClientOptions#getOrg will be used as the destination
organization
if theorg
is not specified.- returns
the sink that accept the measurements.
- Definition Classes
- WriteScalaApiImpl → WriteScalaApi
- 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 thebucket
is not specified.- org
Specifies the destination organization for writes. The com.influxdb.client.InfluxDBClientOptions#getOrg will be used as the destination
organization
if theorg
is not specified.- returns
the sink that accept the Data points.
- Definition Classes
- WriteScalaApiImpl → WriteScalaApi
- 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
- WriteScalaApiImpl → WriteScalaApi
- 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 thebucket
is not specified.- org
Specifies the destination organization for writes. The com.influxdb.client.InfluxDBClientOptions#getOrg will be used as the destination
organization
if theorg
is not specified.- returns
the sink that accept the Data points.
- Definition Classes
- WriteScalaApiImpl → WriteScalaApi
- 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 thebucket
is not specified.- org
Specifies the destination organization for writes. The com.influxdb.client.InfluxDBClientOptions#getOrg will be used as the destination
organization
if theorg
is not specified.- returns
the sink that accept the record specified in InfluxDB Line Protocol.
- Definition Classes
- WriteScalaApiImpl → WriteScalaApi
- 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
- WriteScalaApiImpl → WriteScalaApi
- 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 thebucket
is not specified.- org
Specifies the destination organization for writes. The com.influxdb.client.InfluxDBClientOptions#getOrg will be used as the destination
organization
if theorg
is not specified.- returns
the sink that accept the records specified in InfluxDB Line Protocol.
- Definition Classes
- WriteScalaApiImpl → WriteScalaApi