Class SingleMessageMetadata


  • public final class SingleMessageMetadata
    extends java.lang.Object
    • Constructor Detail

      • SingleMessageMetadata

        public SingleMessageMetadata()
    • Method Detail

      • getPropertiesCount

        public int getPropertiesCount()
      • getPropertyAt

        public KeyValue getPropertyAt​(int idx)
      • getPropertiesList

        public java.util.List<KeyValue> getPropertiesList()
      • addProperty

        public KeyValue addProperty()
      • hasPartitionKey

        public boolean hasPartitionKey()
      • getPartitionKey

        public java.lang.String getPartitionKey()
      • hasPayloadSize

        public boolean hasPayloadSize()
      • getPayloadSize

        public int getPayloadSize()
      • hasCompactedOut

        public boolean hasCompactedOut()
      • isCompactedOut

        public boolean isCompactedOut()
      • hasEventTime

        public boolean hasEventTime()
      • getEventTime

        public long getEventTime()
      • hasPartitionKeyB64Encoded

        public boolean hasPartitionKeyB64Encoded()
      • isPartitionKeyB64Encoded

        public boolean isPartitionKeyB64Encoded()
      • setPartitionKeyB64Encoded

        public SingleMessageMetadata setPartitionKeyB64Encoded​(boolean partitionKeyB64Encoded)
      • hasOrderingKey

        public boolean hasOrderingKey()
      • getOrderingKeySize

        public int getOrderingKeySize()
      • getOrderingKey

        public byte[] getOrderingKey()
      • getOrderingKeySlice

        public io.netty.buffer.ByteBuf getOrderingKeySlice()
      • hasSequenceId

        public boolean hasSequenceId()
      • getSequenceId

        public long getSequenceId()
      • hasNullValue

        public boolean hasNullValue()
      • isNullValue

        public boolean isNullValue()
      • hasNullPartitionKey

        public boolean hasNullPartitionKey()
      • isNullPartitionKey

        public boolean isNullPartitionKey()
      • writeTo

        public int writeTo​(io.netty.buffer.ByteBuf _b)
      • getSerializedSize

        public int getSerializedSize()
      • parseFrom

        public void parseFrom​(io.netty.buffer.ByteBuf _buffer,
                              int _size)
      • toByteArray

        public byte[] toByteArray()
      • parseFrom

        public void parseFrom​(byte[] a)