Package org.apache.pulsar.client.impl
Class ChunkMessageIdImpl
- java.lang.Object
-
- org.apache.pulsar.client.impl.MessageIdImpl
-
- org.apache.pulsar.client.impl.ChunkMessageIdImpl
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<org.apache.pulsar.client.api.MessageId>,org.apache.pulsar.client.api.MessageId
public class ChunkMessageIdImpl extends MessageIdImpl implements org.apache.pulsar.client.api.MessageId
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.pulsar.client.impl.MessageIdImpl
entryId, ledgerId, partitionIndex
-
-
Constructor Summary
Constructors Constructor Description ChunkMessageIdImpl(MessageIdImpl firstChunkMsgId, MessageIdImpl lastChunkMsgId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)MessageIdImplgetFirstChunkMessageId()MessageIdImplgetLastChunkMessageId()inthashCode()byte[]toByteArray()java.lang.StringtoString()-
Methods inherited from class org.apache.pulsar.client.impl.MessageIdImpl
compareTo, convertToMessageIdImpl, fromByteArray, fromByteArrayWithTopic, fromByteArrayWithTopic, getEntryId, getLedgerId, getPartitionIndex, toByteArray, writeMessageIdData
-
-
-
-
Constructor Detail
-
ChunkMessageIdImpl
public ChunkMessageIdImpl(MessageIdImpl firstChunkMsgId, MessageIdImpl lastChunkMsgId)
-
-
Method Detail
-
getFirstChunkMessageId
public MessageIdImpl getFirstChunkMessageId()
-
getLastChunkMessageId
public MessageIdImpl getLastChunkMessageId()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classMessageIdImpl
-
toByteArray
public byte[] toByteArray()
- Specified by:
toByteArrayin interfaceorg.apache.pulsar.client.api.MessageId- Overrides:
toByteArrayin classMessageIdImpl
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classMessageIdImpl
-
hashCode
public int hashCode()
- Overrides:
hashCodein classMessageIdImpl
-
-