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 void
copyAliases
(Schema.Field from, Schema.Field to) static void
copyAliases
(Schema from, Schema to) static void
copyLogicalTypes
(Schema from, Schema to) static void
copyProperties
(JsonProperties from, JsonProperties to) static String
getJavaClassName
(Schema schema) static boolean
hasGeneratedJavaClass
(Schema schema) static <T> T
visit
(Schema start, SchemaVisitor<T> visitor) depth first visit.
-
Method Details
-
copyAliases
-
copyAliases
-
copyLogicalTypes
-
copyProperties
-
hasGeneratedJavaClass
-
getJavaClassName
-
visit
depth first visit.- Parameters:
start
-visitor
-
-