Interface SchemaMetadataRules
-
- All Known Implementing Classes:
RadarSchemaMetadataRules
public interface SchemaMetadataRules
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SchemaRulesgetSchemaRules()default Validator<SchemaMetadata>getValidator(boolean validateScopeSpecific)Validates any schema file.default java.util.function.Function<SchemaMetadata,java.lang.String>message(java.lang.String text)default Validator<SchemaMetadata>schema(Validator<org.apache.avro.Schema> validator)Validates schemas without their metadata.Validator<SchemaMetadata>validateSchemaLocation()Checks the location of a schema with its internal data.
-
-
-
Method Detail
-
getSchemaRules
SchemaRules getSchemaRules()
-
validateSchemaLocation
Validator<SchemaMetadata> validateSchemaLocation()
Checks the location of a schema with its internal data.
-
getValidator
default Validator<SchemaMetadata> getValidator(boolean validateScopeSpecific)
Validates any schema file. It will choose the correct validation method based on the scope and type of the schema.
-
schema
default Validator<SchemaMetadata> schema(Validator<org.apache.avro.Schema> validator)
Validates schemas without their metadata.
-
message
default java.util.function.Function<SchemaMetadata,java.lang.String> message(java.lang.String text)
-
-