public final class Schemas extends Object
Modifier and Type | Method and Description |
---|---|
static 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.
|
public static void copyAliases(Schema.Field from, Schema.Field to)
public static void copyProperties(JsonProperties from, JsonProperties to)
public static boolean hasGeneratedJavaClass(Schema schema)
public static <T> T visit(Schema start, SchemaVisitor<T> visitor)
start
- visitor
- Copyright © 2009–2020 The Apache Software Foundation. All rights reserved.