Class ByteBufferValueRecord<T>

java.lang.Object
com.linkedin.davinci.store.record.ByteBufferValueRecord<T>

public final class ByteBufferValueRecord<T> extends Object
This class encapsulates a value from venice storage accompanied by the schema id that was used to serialize the value. TODO: This class should probably be superseded by ValueRecord. Unfortunately, MANY interfaces in the ingestion path rely on the Bytebuffer interface, where ValueRecord relies on ByteBuf. Until we rectify that, this is our stand in.
  • Constructor Details

    • ByteBufferValueRecord

      public ByteBufferValueRecord(T value, int writerSchemaId)
  • Method Details

    • value

      public T value()
    • writerSchemaId

      public int writerSchemaId()
    • toString

      public String toString()
      Overrides:
      toString in class Object