Class RmdUtils

java.lang.Object
com.linkedin.venice.schema.rmd.RmdUtils

public class RmdUtils extends Object
Ths class is responsible for deserializing RMDs and extract some information from it. It borrows some methods from RmdSerDe.
  • Constructor Details

    • RmdUtils

      public RmdUtils()
  • Method Details

    • getRmdTimestampType

      public static RmdTimestampType getRmdTimestampType(Object tsObject)
      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

      public static List<Long> extractTimestampFromRmd(org.apache.avro.generic.GenericRecord replicationMetadataRecord)
    • getLastUpdateTimestamp

      public static long getLastUpdateTimestamp(Object object)