Class DeleteMetadata


  • public class DeleteMetadata
    extends java.lang.Object
    This is a simple container class to hold replication metadata related fields together to be passed on to the Delete api in VeniceWriter VeniceWriter#delete(Object, Callback, LeaderMetadataWrapper, long, Optional). Caller should construct an instance of this object by properly filling up all the fields of this object.
    • Constructor Detail

      • DeleteMetadata

        public DeleteMetadata​(int valueSchemaId,
                              int rmdVersionId,
                              java.nio.ByteBuffer rmdPayload)
    • Method Detail

      • getValueSchemaId

        public int getValueSchemaId()
      • getRmdVersionId

        public int getRmdVersionId()
      • getRmdPayload

        public java.nio.ByteBuffer getRmdPayload()
      • getSerializedSize

        public int getSerializedSize()