Package com.linkedin.davinci.replication
Class RmdWithValueSchemaId
java.lang.Object
com.linkedin.davinci.replication.RmdWithValueSchemaId
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
ConstructorDescriptionRmdWithValueSchemaId
(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
Modifier and TypeMethodDescriptionint
org.apache.avro.generic.GenericRecord
int
void
setRmdManifest
(ChunkedValueManifest rmdManifest) void
setRmdProtocolVersionId
(int rmdProtocolVersionId) void
setRmdRecord
(org.apache.avro.generic.GenericRecord rmdRecord) void
setValueSchemaId
(int valueSchemaId)
-
Constructor Details
-
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 Details
-
setValueSchemaId
public void setValueSchemaId(int valueSchemaId) -
setRmdProtocolVersionId
public void setRmdProtocolVersionId(int rmdProtocolVersionId) -
setRmdRecord
public void setRmdRecord(org.apache.avro.generic.GenericRecord rmdRecord) -
setRmdManifest
-
getRmdRecord
public org.apache.avro.generic.GenericRecord getRmdRecord() -
getValueSchemaId
public int getValueSchemaId() -
getRmdProtocolVersionId
public int getRmdProtocolVersionId() -
getRmdManifest
-