getDataStream abstract method
      
Future<List<DataStreamBatch> > 
getDataStream(
    
- DataStreamId dataStream,
- int fromSequenceId, [
- int? toSequenceIdInclusive
Retrieve all data points in dataStream that fall within the inclusive range
defined by fromSequenceId and toSequenceIdInclusive.
If toSequenceIdInclusive is null, all data points starting fromSequenceId
are returned.
In case no data for dataStream is stored in this repository, or is
available for the specified range, an empty list is returned.
Throws IllegalArgumentException if:
- dataStreamhas never been opened
- the dataStreamdoes not exist (i.e, that the combination ofdataStream.deviceRoleNameanddataStream.dataTypeis correct for the protocol used in thedataStream.studyDeploymentIddeployment.)
- fromSequenceIdis negative or- toSequenceIdInclusiveis smaller than- fromSequenceId
Implementation
Future<List<DataStreamBatch>> getDataStream(
  DataStreamId dataStream,
  int fromSequenceId, [
  int? toSequenceIdInclusive,
]);