SchemaValidationStrategy that checks that the data written with the
Schema to validate can be read by the existing schema according to
the default Avro schema resolution rules.
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | validate(Schema toValidate, Schema existing)
Implements org. |
| ValidateCanBeRead | back to summary |
|---|---|
| pack-priv ValidateCanBeRead() | |
| validate | back to summary |
|---|---|
| public void validate(Schema toValidate, Schema existing) throws SchemaValidationException Implements org. Validate that data written with first schema provided can be read using the second schema, according to the default Avro schema resolution rules.
| |