appendToDataStreams abstract method

Future<void> appendToDataStreams(
  1. String studyDeploymentId,
  2. List<DataStreamBatch> batch
)

Append a batch of data measures to corresponding data streams in studyDeploymentId.

Throws IllegalArgumentException when:

  • the studyDeploymentId of one or more sequences in batch does not match studyDeploymentId
  • the start of one or more of the sequences contained in batch precede the end of a previously appended sequence to the same data stream
  • batch contains a sequence with DataStreamId which wasn't configured for studyDeploymentId

Throws IllegalStateException when data streams for studyDeploymentId have been closed.

Implementation

Future<void> appendToDataStreams(
  String studyDeploymentId,
  List<DataStreamBatch> batch,
);