Uses of Class
org.apache.pulsar.common.api.proto.SingleMessageMetadata
Packages that use SingleMessageMetadata
Package
Description
Classes implementing raw API messages.
Common protocol.
-
Uses of SingleMessageMetadata in org.apache.pulsar.common.api.proto
Methods in org.apache.pulsar.common.api.proto that return SingleMessageMetadataModifier and TypeMethodDescriptionSingleMessageMetadata.addAllProperties(Iterable<KeyValue> properties) SingleMessageMetadata.clear()SingleMessageMetadata.clearCompactedOut()SingleMessageMetadata.clearEventTime()SingleMessageMetadata.clearNullPartitionKey()SingleMessageMetadata.clearNullValue()SingleMessageMetadata.clearOrderingKey()SingleMessageMetadata.clearPartitionKey()SingleMessageMetadata.clearPartitionKeyB64Encoded()SingleMessageMetadata.clearPayloadSize()SingleMessageMetadata.clearProperties()SingleMessageMetadata.clearSequenceId()SingleMessageMetadata.copyFrom(SingleMessageMetadata _other) SingleMessageMetadata.setCompactedOut(boolean compactedOut) SingleMessageMetadata.setEventTime(long eventTime) SingleMessageMetadata.setNullPartitionKey(boolean nullPartitionKey) SingleMessageMetadata.setNullValue(boolean nullValue) SingleMessageMetadata.setOrderingKey(byte[] orderingKey) SingleMessageMetadata.setOrderingKey(io.netty.buffer.ByteBuf orderingKey) SingleMessageMetadata.setPartitionKey(String partitionKey) SingleMessageMetadata.setPartitionKeyB64Encoded(boolean partitionKeyB64Encoded) SingleMessageMetadata.setPayloadSize(int payloadSize) SingleMessageMetadata.setSequenceId(long sequenceId) Methods in org.apache.pulsar.common.api.proto with parameters of type SingleMessageMetadata -
Uses of SingleMessageMetadata in org.apache.pulsar.common.api.raw
Methods in org.apache.pulsar.common.api.raw with parameters of type SingleMessageMetadataModifier and TypeMethodDescriptionstatic RawMessageRawMessageImpl.get(ReferenceCountedMessageMetadata msgMetadata, SingleMessageMetadata singleMessageMetadata, io.netty.buffer.ByteBuf payload, long ledgerId, long entryId, long batchIndex) -
Uses of SingleMessageMetadata in org.apache.pulsar.common.protocol
Methods in org.apache.pulsar.common.protocol with parameters of type SingleMessageMetadataModifier and TypeMethodDescriptionstatic io.netty.buffer.ByteBufCommands.deSerializeSingleMessageInBatch(io.netty.buffer.ByteBuf uncompressedPayload, SingleMessageMetadata singleMessageMetadata, int index, int batchSize) static io.netty.buffer.ByteBufCommands.serializeSingleMessageInBatchWithPayload(SingleMessageMetadata singleMessageMetadata, io.netty.buffer.ByteBuf payload, io.netty.buffer.ByteBuf batchBuffer)