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:
Serializable,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:
-
Field Summary
Fields inherited from class org.apache.pulsar.client.impl.MessageIdImpl
entryId, ledgerId, partitionIndexFields inherited from interface org.apache.pulsar.client.api.MessageId
earliest, latest -
Constructor Summary
ConstructorsConstructorDescriptionChunkMessageIdImpl(MessageIdImpl firstChunkMsgId, MessageIdImpl lastChunkMsgId) -
Method Summary
Methods inherited from class org.apache.pulsar.client.impl.MessageIdImpl
compareTo, convertToMessageIdImpl, fromByteArray, fromByteArrayWithTopic, fromByteArrayWithTopic, getEntryId, getLedgerId, getPartitionIndex, toByteArray, writeMessageIdDataMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Comparable
compareTo
-
Constructor Details
-
ChunkMessageIdImpl
-
-
Method Details
-
getFirstChunkMessageId
-
getLastChunkMessageId
-
toString
- Overrides:
toStringin classMessageIdImpl
-
toByteArray
public byte[] toByteArray()- Specified by:
toByteArrayin interfaceorg.apache.pulsar.client.api.MessageId- Overrides:
toByteArrayin classMessageIdImpl
-
equals
- Overrides:
equalsin classMessageIdImpl
-
hashCode
public int hashCode()- Overrides:
hashCodein classMessageIdImpl
-