public interface SchemaValidator
A SchemaValidator has one method, which validates that a Schema
is
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 validateexisting
- The schemas to validate against, in order from most recent to latest if applicableSchemaValidationException
- if the schema fails to validate.Copyright © 2009–2017 The Apache Software Foundation. All rights reserved.