Package org.apache.avro
Class SchemaValidatorBuilder
java.lang.Object
org.apache.avro.SchemaValidatorBuilder
A Builder for creating SchemaValidators.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionUse a strategy that validates that a schema can be read by existing schema(s) according to the Avro default schema resolution.Use a strategy that validates that a schema can be used to read existing schema(s) according to the Avro default schema resolution.Use a strategy that validates that a schema can read existing schema(s), and vice-versa, according to the Avro default schema resolution.strategy
(SchemaValidationStrategy strategy)
-
Constructor Details
-
SchemaValidatorBuilder
public SchemaValidatorBuilder()
-
-
Method Details
-
strategy
-
canReadStrategy
Use a strategy that validates that a schema can be used to read existing schema(s) according to the Avro default schema resolution. -
canBeReadStrategy
Use a strategy that validates that a schema can be read by existing schema(s) according to the Avro default schema resolution. -
mutualReadStrategy
Use a strategy that validates that a schema can read existing schema(s), and vice-versa, according to the Avro default schema resolution. -
validateLatest
-
validateAll
-