Package com.linkedin.davinci.replication
Class RmdWithValueSchemaId
- java.lang.Object
-
- com.linkedin.davinci.replication.RmdWithValueSchemaId
-
public class RmdWithValueSchemaId extends java.lang.Object
A POJO class that contains 3 things/fields: 1. RMD record. 2. RMD protocol version ID. 3. Value schema ID used to generate the RMD schema.
-
-
Constructor Summary
Constructors Constructor Description RmdWithValueSchemaId()
RmdWithValueSchemaId(int valueSchemaId, int rmdProtocolVersionId, org.apache.avro.generic.GenericRecord rmdRecord)
RmdWithValueSchemaId(int valueSchemaId, int rmdProtocolVersionId, org.apache.avro.generic.GenericRecord rmdRecord, ChunkedValueManifest rmdManifest)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChunkedValueManifest
getRmdManifest()
int
getRmdProtocolVersionId()
org.apache.avro.generic.GenericRecord
getRmdRecord()
int
getValueSchemaId()
void
setRmdManifest(ChunkedValueManifest rmdManifest)
void
setRmdProtocolVersionId(int rmdProtocolVersionId)
void
setRmdRecord(org.apache.avro.generic.GenericRecord rmdRecord)
void
setValueSchemaId(int valueSchemaId)
-
-
-
Constructor Detail
-
RmdWithValueSchemaId
public RmdWithValueSchemaId(int valueSchemaId, int rmdProtocolVersionId, org.apache.avro.generic.GenericRecord rmdRecord, ChunkedValueManifest rmdManifest)
-
RmdWithValueSchemaId
public RmdWithValueSchemaId(int valueSchemaId, int rmdProtocolVersionId, org.apache.avro.generic.GenericRecord rmdRecord)
-
RmdWithValueSchemaId
public RmdWithValueSchemaId()
-
-
Method Detail
-
setValueSchemaId
public void setValueSchemaId(int valueSchemaId)
-
setRmdProtocolVersionId
public void setRmdProtocolVersionId(int rmdProtocolVersionId)
-
setRmdRecord
public void setRmdRecord(org.apache.avro.generic.GenericRecord rmdRecord)
-
setRmdManifest
public void setRmdManifest(ChunkedValueManifest rmdManifest)
-
getRmdRecord
public org.apache.avro.generic.GenericRecord getRmdRecord()
-
getValueSchemaId
public int getValueSchemaId()
-
getRmdProtocolVersionId
public int getRmdProtocolVersionId()
-
getRmdManifest
public ChunkedValueManifest getRmdManifest()
-
-