ReadOptions class

Request class for reading data.

The request can be used to specify the type of data to be read and grouped parameters. The read request requires the setting of a time range and allows data to be read in detail or summary mode.

Constructors

ReadOptions({DateTime? startTime, DateTime? endTime, TimeUnit timeUnit = TimeUnit.MILLISECONDS, int? pageSize, bool? allowRemoteInquiry, List<DataCollector>? dataCollectors, List<DataType>? dataTypes})

Properties

allowRemoteInquiry bool?
Allows for query on the cloud.
getter/setter pair
dataCollectors List<DataCollector>?
getter/setter pair
dataTypes List<DataType>?
getter/setter pair
duration int?
getter/setter pair
endTime DateTime?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
pageSize int?
The maximum number of pages for the paginated query results.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startTime DateTime?
getter/setter pair
timeUnit TimeUnit
getter/setter pair

Methods

groupByTime(int duration, {TimeUnit timeUnit = TimeUnit.MILLISECONDS}) → void
Sets the group type to TYPE_TIME and sets the duration for each group.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
polymerizeByDataCollector(DataCollector dataCollector, DataType outputDataType) → void
Adds a data collector for reading data.
polymerizeByDataType(DataType inputDataType, DataType outputDataType) → void
Adds a new data type to the grouped data and sets the type of the grouped data to be returned.
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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