public abstract class AvroSchemaVisitor<T>
extends java.lang.Object
Constructor and Description |
---|
AvroSchemaVisitor() |
Modifier and Type | Method and Description |
---|---|
T |
array(org.apache.avro.Schema array,
T element) |
protected java.util.Deque<java.lang.String> |
fieldNames() |
T |
map(org.apache.avro.Schema map,
T value) |
T |
primitive(org.apache.avro.Schema primitive) |
T |
record(org.apache.avro.Schema record,
java.util.List<java.lang.String> names,
java.util.List<T> fields) |
T |
union(org.apache.avro.Schema union,
java.util.List<T> options) |
static <T> T |
visit(org.apache.avro.Schema schema,
AvroSchemaVisitor<T> visitor) |
public static <T> T visit(org.apache.avro.Schema schema, AvroSchemaVisitor<T> visitor)
protected java.util.Deque<java.lang.String> fieldNames()
public T record(org.apache.avro.Schema record, java.util.List<java.lang.String> names, java.util.List<T> fields)
public T primitive(org.apache.avro.Schema primitive)