A Builder for creating SchemaValidators.
| Modifier and Type | Field and Description |
|---|---|
| private SchemaValidationStrategy |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public SchemaValidatorBuilder | canBeReadStrategy()
Use a strategy that validates that a schema can be read by existing schema(s) according to the Avro default schema resolution. |
| public SchemaValidatorBuilder | canReadStrategy()
Use a strategy that validates that a schema can be used to read existing schema(s) according to the Avro default schema resolution. |
| public SchemaValidatorBuilder | mutualReadStrategy()
Use a strategy that validates that a schema can read existing schema(s), and vice-versa, according to the Avro default schema resolution. |
| public SchemaValidatorBuilder | |
| private void | |
| public SchemaValidator | |
| public SchemaValidator |
| strategy | back to summary |
|---|---|
| private SchemaValidationStrategy strategy | |
| SchemaValidatorBuilder | back to summary |
|---|---|
| public SchemaValidatorBuilder() | |
| canBeReadStrategy | back to summary |
|---|---|
| public SchemaValidatorBuilder canBeReadStrategy() Use a strategy that validates that a schema can be read by existing schema(s) according to the Avro default schema resolution. | |
| canReadStrategy | back to summary |
|---|---|
| public SchemaValidatorBuilder canReadStrategy() Use a strategy that validates that a schema can be used to read existing schema(s) according to the Avro default schema resolution. | |
| mutualReadStrategy | back to summary |
|---|---|
| public SchemaValidatorBuilder mutualReadStrategy() Use a strategy that validates that a schema can read existing schema(s), and vice-versa, according to the Avro default schema resolution. | |
| strategy | back to summary |
|---|---|
| public SchemaValidatorBuilder strategy(SchemaValidationStrategy strategy) | |
| valid | back to summary |
|---|---|
| private void valid() | |
| validateAll | back to summary |
|---|---|
| public SchemaValidator validateAll() | |
| validateLatest | back to summary |
|---|---|
| public SchemaValidator validateLatest() | |