public static interface MessageTable.Entry
| Modifier and Type | Method and Description |
|---|---|
int |
getGeneration()
Returns the generation id of the topic.
|
byte[] |
getPayload()
|
long |
getPublishTimestamp()
Returns the timestamp in milliseconds when this entry was written to the message table.
|
short |
getSequenceId()
Returns the sequence id generated when this entry was written to the message table.
|
co.cask.cdap.proto.id.TopicId |
getTopicId()
Returns the topic id that the entry belongs to.
|
long |
getTransactionWritePointer()
Returns the transaction write pointer stored in this entry.
|
boolean |
isPayloadReference()
Returns
true if the entry is a reference to messages stored in payload table. |
boolean |
isTransactional()
Returns
true if the message is a transactional message |
co.cask.cdap.proto.id.TopicId getTopicId()
int getGeneration()
boolean isPayloadReference()
true if the entry is a reference to messages stored in payload table.boolean isTransactional()
true if the message is a transactional messagelong getTransactionWritePointer()
isTransactional() returns true.@Nullable byte[] getPayload()
long getPublishTimestamp()
short getSequenceId()
Copyright © 2017 Cask Data, Inc. Licensed under the Apache License, Version 2.0.