public class NameMappingWithAvroSchema extends AvroWithTypeByStructureVisitor<MappedFields>
Constructor and Description |
---|
NameMappingWithAvroSchema() |
Modifier and Type | Method and Description |
---|---|
MappedFields |
array(Type list,
org.apache.avro.Schema array,
MappedFields elementResult) |
MappedFields |
map(Type sMap,
org.apache.avro.Schema map,
MappedFields valueResult) |
MappedFields |
map(Type sMap,
org.apache.avro.Schema map,
MappedFields keyResult,
MappedFields valueResult) |
MappedFields |
primitive(Type type,
org.apache.avro.Schema primitive) |
MappedFields |
record(Type struct,
org.apache.avro.Schema record,
java.util.List<java.lang.String> names,
java.util.List<MappedFields> fieldResults) |
MappedFields |
union(Type type,
org.apache.avro.Schema union,
java.util.List<MappedFields> optionResults) |
arrayElementType, fieldNameAndType, isMapType, isStringType, mapKeyType, mapValueType, nullType
visit
public MappedFields record(Type struct, org.apache.avro.Schema record, java.util.List<java.lang.String> names, java.util.List<MappedFields> fieldResults)
record
in class AvroWithPartnerByStructureVisitor<Type,MappedFields>
public MappedFields union(Type type, org.apache.avro.Schema union, java.util.List<MappedFields> optionResults)
union
in class AvroWithPartnerByStructureVisitor<Type,MappedFields>
public MappedFields array(Type list, org.apache.avro.Schema array, MappedFields elementResult)
array
in class AvroWithPartnerByStructureVisitor<Type,MappedFields>
public MappedFields map(Type sMap, org.apache.avro.Schema map, MappedFields keyResult, MappedFields valueResult)
map
in class AvroWithPartnerByStructureVisitor<Type,MappedFields>
public MappedFields map(Type sMap, org.apache.avro.Schema map, MappedFields valueResult)
map
in class AvroWithPartnerByStructureVisitor<Type,MappedFields>
public MappedFields primitive(Type type, org.apache.avro.Schema primitive)
primitive
in class AvroWithPartnerByStructureVisitor<Type,MappedFields>