Class ValueAndRmd<T>
- java.lang.Object
-
- com.linkedin.davinci.schema.merge.ValueAndRmd<T>
-
public class ValueAndRmd<T> extends java.lang.Object
This class holds a value of type {@param T} and its corresponding replication metadata.
-
-
Constructor Summary
Constructors Constructor Description ValueAndRmd(Lazy<T> value, org.apache.avro.generic.GenericRecord rmd)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.avro.generic.GenericRecord
getRmd()
T
getValue()
int
getValueSchemaId()
boolean
isUpdateIgnored()
void
setRmd(org.apache.avro.generic.GenericRecord rmd)
void
setUpdateIgnored(boolean updateIgnored)
void
setValue(T value)
void
setValueSchemaId(int valueSchemaId)
-
-
-
Method Detail
-
getValue
public T getValue()
-
setValue
public void setValue(T value)
-
getRmd
public org.apache.avro.generic.GenericRecord getRmd()
-
setRmd
public void setRmd(org.apache.avro.generic.GenericRecord rmd)
-
setUpdateIgnored
public void setUpdateIgnored(boolean updateIgnored)
-
isUpdateIgnored
public boolean isUpdateIgnored()
-
setValueSchemaId
public void setValueSchemaId(int valueSchemaId)
-
getValueSchemaId
public int getValueSchemaId()
-
-