Class Schemas

java.lang.Object
org.apache.avro.compiler.schema.Schemas

public final class Schemas extends Object
Avro Schema utilities, to traverse...
  • Method Details

    • copyAliases

      public static void copyAliases(Schema from, Schema to)
    • copyAliases

      public static void copyAliases(Schema.Field from, Schema.Field to)
    • copyLogicalTypes

      public static void copyLogicalTypes(Schema from, Schema to)
    • copyProperties

      public static void copyProperties(JsonProperties from, JsonProperties to)
    • hasGeneratedJavaClass

      public static boolean hasGeneratedJavaClass(Schema schema)
    • getJavaClassName

      public static String getJavaClassName(Schema schema)
    • visit

      public static <T> T visit(Schema start, SchemaVisitor<T> visitor)
      depth first visit.
      Parameters:
      start -
      visitor -