SchemaValidationStrategy that checks that the Schema to
validate and the existing schema can mutually read each other according to
the default Avro schema resolution rules.
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static void | |
| public void | validate(Schema toValidate, Schema existing)
Implements org. |
| ValidateMutualRead | back to summary |
|---|---|
| pack-priv ValidateMutualRead() | |
| canRead | back to summary |
|---|---|
| pack-priv static void canRead(Schema writtenWith, Schema readUsing) throws SchemaValidationException Validates that data written with one schema can be read using another, based on the default Avro schema resolution rules.
| |
| validate | back to summary |
|---|---|
| public void validate(Schema toValidate, Schema existing) throws SchemaValidationException Implements org. Validate that the schemas provided can mutually read data written by each other according to the default Avro schema resolution rules.
| |