Class MergeResultValueSchemaResolverImpl

java.lang.Object
com.linkedin.davinci.replication.merge.MergeResultValueSchemaResolverImpl

public class MergeResultValueSchemaResolverImpl extends Object
  • Constructor Details

  • Method Details

    • getMergeResultValueSchema

      public SchemaEntry getMergeResultValueSchema(int firstValueSchemaID, int secondValueSchemaID)
      For general purpose, refer to Javadoc of MergeResultValueSchemaResolver.getMergeResultValueSchema(int, int). This implementation handles 3 situations: 1. Old value schema ID is the same as new value schema ID. Return either schema. 2. Between old and new value schemas, one is a superset schema of another. Return the one that is the superset schema. 3. Old and new value schemas mismatch. Get and return the registered superset schema on this store.