Class RmdSchemaGenerator

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

public class RmdSchemaGenerator extends Object
This is simply a wrapper class to delegate the actual schema generation to version specific adapter.
  • Method Details

    • generateMetadataSchema

      public static org.apache.avro.Schema generateMetadataSchema(String schemaStr, int version)
    • generateMetadataSchema

      public static org.apache.avro.Schema generateMetadataSchema(org.apache.avro.Schema schema)
      Generate the latest replication metadata schema.
      Parameters:
      schema - source schema from which replication metadata schema is generated
      Returns:
      Generated replication metadata schema
    • getLatestVersion

      public static int getLatestVersion()
    • generateMetadataSchema

      public static org.apache.avro.Schema generateMetadataSchema(org.apache.avro.Schema schema, int version)