class
Amazonite::Kinesis::Shard
- Amazonite::Kinesis::Shard
- Reference
- Object
Overview
A uniquely identified group of data records in a Kinesis data stream.
Included Modules
- JSON::Serializable
Defined in:
kinesis/shard.crConstructors
- .new(shard_id : String, hash_key_range : HashKeyRange, sequence_number_range : SequenceNumberRange, parent_shard_id : String | Nil = nil, adjacent_parent_shard_id : String | Nil = nil)
- .new(pull : JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#adjacent_parent_shard_id : String | Nil
The shard ID of the shard adjacent to the shard's parent.
-
#adjacent_parent_shard_id=(adjacent_parent_shard_id : String | Nil)
The shard ID of the shard adjacent to the shard's parent.
-
#hash(hasher)
See
Object#hash(hasher) -
#hash_key_range : HashKeyRange
The range of possible hash key values for the shard, which is a set of ordered contiguous positive integers.
-
#hash_key_range=(hash_key_range : HashKeyRange)
The range of possible hash key values for the shard, which is a set of ordered contiguous positive integers.
-
#parent_shard_id : String | Nil
The shard ID of the shard's parent.
-
#parent_shard_id=(parent_shard_id : String | Nil)
The shard ID of the shard's parent.
-
#sequence_number_range : SequenceNumberRange
The range of possible sequence numbers for the shard.
-
#sequence_number_range=(sequence_number_range : SequenceNumberRange)
The range of possible sequence numbers for the shard.
-
#shard_id : String
The unique identifier of the shard within the stream.
-
#shard_id=(shard_id : String)
The unique identifier of the shard within the stream.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The shard ID of the shard adjacent to the shard's parent.
The shard ID of the shard adjacent to the shard's parent.
The range of possible hash key values for the shard, which is a set of ordered contiguous positive integers.
The range of possible hash key values for the shard, which is a set of ordered contiguous positive integers.
The range of possible sequence numbers for the shard.
The range of possible sequence numbers for the shard.