Class MergeResultValueSchemaResolverImpl


  • public class MergeResultValueSchemaResolverImpl
    extends java.lang.Object
    • Constructor Detail

      • MergeResultValueSchemaResolverImpl

        public MergeResultValueSchemaResolverImpl​(StringAnnotatedStoreSchemaCache storeSchemaCache,
                                                  java.lang.String storeName)
    • Method Detail

      • 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.