GetRecordsOutput class
Represents the output for GetRecords.
Constructors
-
GetRecordsOutput({required List<
Record> records, List<ChildShard> ? childShards, int? millisBehindLatest, String? nextShardIterator}) -
GetRecordsOutput.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
childShards
→ List<
ChildShard> ? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- millisBehindLatest → int?
-
The number of milliseconds the GetRecords response is from the tip of
the stream, indicating how far behind current time the consumer is. A value
of zero indicates that record processing is caught up, and there are no new
records to process at this moment.
final
- nextShardIterator → String?
-
The next position in the shard from which to start sequentially reading data
records. If set to
null, the shard has been closed and the requested iterator does not return any more data.final -
records
→ List<
Record> -
The data records retrieved from the shard.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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