Class ByteBufferValueRecord<T>
- java.lang.Object
-
- com.linkedin.davinci.store.record.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 byValueRecord
. 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 Summary
Constructors Constructor Description ByteBufferValueRecord(T value, int writerSchemaId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
T
value()
int
writerSchemaId()
-