@Beta @ParametersAreNonnullByDefault public final class Schemas extends Object
Modifier and Type | Method and Description |
---|---|
static ImmutableSchema |
immutable(org.apache.avro.Schema schema) |
static ImmutableSchema |
immutable(org.apache.avro.Schema schema,
boolean withSerializationSignificatAttrsonly) |
static boolean |
isNullableUnion(org.apache.avro.Schema schema) |
static <T> T |
visit(org.apache.avro.Schema start,
SchemaVisitor<T> visitor)
depth first visit.
|
@Nonnull public static ImmutableSchema immutable(org.apache.avro.Schema schema)
@Nonnull public static ImmutableSchema immutable(org.apache.avro.Schema schema, boolean withSerializationSignificatAttrsonly)
public static <T> T visit(org.apache.avro.Schema start, SchemaVisitor<T> visitor)
start
- visitor
- public static boolean isNullableUnion(org.apache.avro.Schema schema)
Copyright © 2018 SPF4J. All rights reserved.