public interface SchemaValidator
A SchemaValidator has one method, which validates that a
compatible with the other schemas provided.
What makes one Schema compatible with another is not part of the interface contract.
void validate(Schema toValidate, Iterable<Schema> existing) throws SchemaValidationException
toValidate- The schema to validate
existing- The schemas to validate against, in order from most recent to latest if applicable
SchemaValidationException- if the schema fails to validate.
Copyright © 2009–2016 The Apache Software Foundation. All rights reserved.