public abstract class AvroSchemaWithTypeVisitor<T>
extends java.lang.Object
Constructor and Description |
---|
AvroSchemaWithTypeVisitor() |
Modifier and Type | Method and Description |
---|---|
T |
array(Types.ListType iList,
org.apache.avro.Schema array,
T element) |
T |
map(Types.MapType iMap,
org.apache.avro.Schema map,
T value) |
T |
map(Types.MapType iMap,
org.apache.avro.Schema map,
T key,
T value) |
T |
primitive(Type.PrimitiveType iPrimitive,
org.apache.avro.Schema primitive) |
T |
record(Types.StructType iStruct,
org.apache.avro.Schema record,
java.util.List<java.lang.String> names,
java.util.List<T> fields) |
T |
union(Type iType,
org.apache.avro.Schema union,
java.util.List<T> options) |
static <T> T |
visit(Schema iSchema,
org.apache.avro.Schema schema,
AvroSchemaWithTypeVisitor<T> visitor) |
static <T> T |
visit(Type iType,
org.apache.avro.Schema schema,
AvroSchemaWithTypeVisitor<T> visitor) |
public static <T> T visit(Schema iSchema, org.apache.avro.Schema schema, AvroSchemaWithTypeVisitor<T> visitor)
public static <T> T visit(Type iType, org.apache.avro.Schema schema, AvroSchemaWithTypeVisitor<T> visitor)
public T record(Types.StructType iStruct, org.apache.avro.Schema record, java.util.List<java.lang.String> names, java.util.List<T> fields)
public T array(Types.ListType iList, org.apache.avro.Schema array, T element)
public T map(Types.MapType iMap, org.apache.avro.Schema map, T key, T value)
public T map(Types.MapType iMap, org.apache.avro.Schema map, T value)
public T primitive(Type.PrimitiveType iPrimitive, org.apache.avro.Schema primitive)