public class KinesisRecord
extends java.lang.Object
UserRecord
enhanced with utility methods.Constructor and Description |
---|
KinesisRecord(java.nio.ByteBuffer data,
java.lang.String sequenceNumber,
long subSequenceNumber,
java.lang.String partitionKey,
Instant approximateArrivalTimestamp,
Instant readTime,
java.lang.String streamName,
java.lang.String shardId) |
KinesisRecord(com.amazonaws.services.kinesis.clientlibrary.types.UserRecord record,
java.lang.String streamName,
java.lang.String shardId) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
Instant |
getApproximateArrivalTimestamp() |
java.nio.ByteBuffer |
getData() |
byte[] |
getDataAsBytes() |
com.amazonaws.services.kinesis.clientlibrary.types.ExtendedSequenceNumber |
getExtendedSequenceNumber() |
java.lang.String |
getPartitionKey() |
Instant |
getReadTime() |
java.lang.String |
getSequenceNumber() |
java.lang.String |
getShardId() |
java.lang.String |
getStreamName() |
long |
getSubSequenceNumber() |
byte[] |
getUniqueId() |
int |
hashCode() |
public KinesisRecord(com.amazonaws.services.kinesis.clientlibrary.types.UserRecord record, java.lang.String streamName, java.lang.String shardId)
public com.amazonaws.services.kinesis.clientlibrary.types.ExtendedSequenceNumber getExtendedSequenceNumber()
public byte[] getUniqueId()
public Instant getReadTime()
public java.lang.String getStreamName()
public java.lang.String getShardId()
public byte[] getDataAsBytes()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public long getSubSequenceNumber()
public java.lang.String getSequenceNumber()
public Instant getApproximateArrivalTimestamp()
public java.nio.ByteBuffer getData()
public java.lang.String getPartitionKey()