WriteService class

Inheritance

Constructors

WriteService(InfluxDBClient client, {WriteOptions? writeOptions})
Creates WriteApi with optional custom writeOptions

Properties

apiClient ApiClient
getter/setter pairinherited
batchTimer Timer?
getter/setter pair
enableDebug bool
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
influxDB InfluxDBClient
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
writeOptions WriteOptions?
getter/setter pair

Methods

batchWrite(dynamic data, {String? bucket, String? org, WritePrecision? precision}) → void
Write data (Point, String and collection is supported). bucket specifies the destination bucket for writes org specifies target organization precision specifies write precission
close() Future
Flushes and Closes writeService
flush() Future
Flushes the buffer
getApiClient(String basePath) ApiClient?
inherited
getClient() → Client?
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
write(dynamic data, {String? bucket, String? org, WritePrecision? precision}) Future<void>
Write data (Point, String and collection is supported). bucket specifies the destination bucket for writes []
writeLineProtocol(String record, {String? bucket, String? org, WritePrecision precision = WritePrecision.ns}) Future<void>
Write line protocol string record into bucket and org

Operators

operator ==(Object other) bool
The equality operator.
inherited