DataStreamReference class

Provides a reference to the data stream endpoint in a CARP web service.

Used to:

  • append data to the stream.
  • get data from the stream.
Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>
no setterinherited
rpcEndpointUri String
The URL for the data stream service endpoint.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
service CarpDataStreamService
getter/setter pairinherited-setteroverride-getter
studyDeploymentId String
The CARP study deployment ID.
getter/setter pair

Methods

append(List<DataStreamBatch> batch, {bool compress = true}) Future<void>
Append a batch of data measures to this data stream. If compress is true, the data is compressed before upload.
get(DataStreamId dataStream, int fromSequenceId, [int? toSequenceIdInclusive]) Future<List<DataStreamBatch>>
Get all data points in dataStream with sequence numbers between fromSequenceId and toSequenceIdInclusive.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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