Shard class

A uniquely identified group of data records in a Kinesis data stream.

Constructors

Shard({required HashKeyRange hashKeyRange, required SequenceNumberRange sequenceNumberRange, required String shardId, String? adjacentParentShardId, String? parentShardId})
Shard.fromJson(Map<String, dynamic> json)
factory

Properties

adjacentParentShardId String?
The shard ID of the shard adjacent to the shard's parent.
final
hashCode int
The hash code for this object.
no setterinherited
hashKeyRange HashKeyRange
The range of possible hash key values for the shard, which is a set of ordered contiguous positive integers.
final
parentShardId String?
The shard ID of the shard's parent.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sequenceNumberRange SequenceNumberRange
The range of possible sequence numbers for the shard.
final
shardId String
The unique identifier of the shard within the stream.
final

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