Class DeleteMetadata

java.lang.Object
com.linkedin.venice.writer.DeleteMetadata

public class DeleteMetadata extends 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 Details

    • DeleteMetadata

      public DeleteMetadata(int valueSchemaId, int rmdVersionId, ByteBuffer rmdPayload)
  • Method Details

    • getValueSchemaId

      public int getValueSchemaId()
    • getRmdVersionId

      public int getRmdVersionId()
    • getRmdPayload

      public ByteBuffer getRmdPayload()
    • getSerializedSize

      public int getSerializedSize()