Class ByteBufferValueRecord<T>


  • public final class ByteBufferValueRecord<T>
    extends java.lang.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 Detail

      • ByteBufferValueRecord

        public ByteBufferValueRecord​(T value,
                                     int writerSchemaId)
    • Method Detail

      • value

        public T value()
      • writerSchemaId

        public int writerSchemaId()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object