Record class

The unit of data of the Kinesis data stream, which is composed of a sequence number, a partition key, and a data blob.

Constructors

Record({required Uint8List data, required String partitionKey, required String sequenceNumber, DateTime? approximateArrivalTimestamp, EncryptionType? encryptionType})
Record.fromJson(Map<String, dynamic> json)
factory

Properties

approximateArrivalTimestamp DateTime?
The approximate time that the record was inserted into the stream.
final
data Uint8List
The data blob. The data in the blob is both opaque and immutable to Kinesis Data Streams, which does not inspect, interpret, or change the data in the blob in any way. When the data blob (the payload before base64-encoding) is added to the partition key size, the total size must not exceed the maximum record size (1 MiB).
final
encryptionType EncryptionType?
The encryption type used on the record. This parameter can be one of the following values:
final
hashCode int
The hash code for this object.
no setterinherited
partitionKey String
Identifies which shard in the stream the data record is assigned to.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sequenceNumber String
The unique identifier of the record within its shard.
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