Package org.apache.avro.compiler.schema
Class Schemas
java.lang.Object
org.apache.avro.compiler.schema.Schemas
Avro Schema utilities, to traverse...
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidcopyAliases(Schema.Field from, Schema.Field to) static voidcopyAliases(Schema from, Schema to) static voidcopyLogicalTypes(Schema from, Schema to) static voidcopyProperties(JsonProperties from, JsonProperties to) static StringgetJavaClassName(Schema schema) static booleanhasGeneratedJavaClass(Schema schema) static <T> Tvisit(Schema start, SchemaVisitor<T> visitor) depth first visit.
-
Method Details
-
copyAliases
-
copyAliases
-
copyLogicalTypes
-
copyProperties
-
hasGeneratedJavaClass
-
getJavaClassName
-
visit
depth first visit.- Parameters:
start-visitor-
-