Top Description Fields Constructors Methods
org.apache.avro

public final Class SchemaValidatorBuilder

extends Object
Class Inheritance

A Builder for creating SchemaValidators.

Field Summary

Modifier and TypeField and Description
private SchemaValidationStrategy

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod 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
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

strategyback to summary
private SchemaValidationStrategy strategy

Constructor Detail

SchemaValidatorBuilderback to summary
public SchemaValidatorBuilder()

Method Detail

canBeReadStrategyback 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.

canReadStrategyback 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.

mutualReadStrategyback 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.

strategyback to summary
public SchemaValidatorBuilder strategy(SchemaValidationStrategy strategy)
validback to summary
private void valid()
validateAllback to summary
public SchemaValidator validateAll()
validateLatestback to summary
public SchemaValidator validateLatest()