Class CommandAddPartitionToTxn


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

      • CommandAddPartitionToTxn

        public CommandAddPartitionToTxn()
    • Method Detail

      • hasRequestId

        public boolean hasRequestId()
      • getRequestId

        public long getRequestId()
      • hasTxnidLeastBits

        public boolean hasTxnidLeastBits()
      • getTxnidLeastBits

        public long getTxnidLeastBits()
      • hasTxnidMostBits

        public boolean hasTxnidMostBits()
      • getTxnidMostBits

        public long getTxnidMostBits()
      • getPartitionsCount

        public int getPartitionsCount()
      • getPartitionAt

        public java.lang.String getPartitionAt​(int idx)
      • getPartitionsList

        public java.util.List<java.lang.String> getPartitionsList()
      • addPartition

        public void addPartition​(java.lang.String partition)
      • addAllPartitions

        public CommandAddPartitionToTxn addAllPartitions​(java.lang.Iterable<java.lang.String> partitions)
      • 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)