@Beta @ParametersAreNonnullByDefault public final class Schemas extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
copyAliases(org.apache.avro.Schema.Field from,
org.apache.avro.Schema.Field to) |
static void |
copyAliases(org.apache.avro.Schema from,
org.apache.avro.Schema to) |
static void |
copyLogicalTypes(org.apache.avro.Schema from,
org.apache.avro.Schema to) |
static void |
copyProperties(org.apache.avro.JsonProperties from,
org.apache.avro.JsonProperties to) |
static void |
copyProperties(org.apache.avro.Schema.Field from,
org.apache.avro.Schema.Field to)
Deprecated.
use void copyProperties(final JsonProperties from, final JsonProperties to) instead.
|
static void |
copyProperties(org.apache.avro.Schema from,
org.apache.avro.Schema to)
Deprecated.
use void copyProperties(final JsonProperties from, final JsonProperties to) instead.
|
static String |
getJavaClassName(org.apache.avro.Schema schema) |
static boolean |
hasGeneratedJavaClass(org.apache.avro.Schema schema) |
static <T> T |
visit(org.apache.avro.Schema start,
SchemaVisitor<T> visitor)
depth first visit.
|
public static void copyAliases(org.apache.avro.Schema from,
org.apache.avro.Schema to)
public static void copyAliases(org.apache.avro.Schema.Field from,
org.apache.avro.Schema.Field to)
public static void copyLogicalTypes(org.apache.avro.Schema from,
org.apache.avro.Schema to)
public static void copyProperties(org.apache.avro.JsonProperties from,
org.apache.avro.JsonProperties to)
@Deprecated public static void copyProperties(org.apache.avro.Schema from, org.apache.avro.Schema to)
@Deprecated public static void copyProperties(org.apache.avro.Schema.Field from, org.apache.avro.Schema.Field to)
public static boolean hasGeneratedJavaClass(org.apache.avro.Schema schema)
public static String getJavaClassName(org.apache.avro.Schema schema)
public static <T> T visit(org.apache.avro.Schema start,
SchemaVisitor<T> visitor)
start - visitor - Copyright © 2017. All rights reserved.