Package com.linkedin.venice.schema.rmd
Class RmdUtils
java.lang.Object
com.linkedin.venice.schema.rmd.RmdUtils
Ths class is responsible for deserializing RMDs and extract some information from it.
It borrows some methods from
RmdSerDe.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionextractTimestampFromRmd(org.apache.avro.generic.GenericRecord replicationMetadataRecord) static longgetLastUpdateTimestamp(Object object) static RmdTimestampTypegetRmdTimestampType(Object tsObject) Returns the type of union record given tsObject is.
-
Constructor Details
-
RmdUtils
public RmdUtils()
-
-
Method Details
-
getRmdTimestampType
Returns the type of union record given tsObject is. Right now it will be either root level long or generic record of per field timestamp.- Parameters:
tsObject-
-
extractTimestampFromRmd
-
getLastUpdateTimestamp
-