Package org.apache.iceberg.avro
Class NameMappingWithAvroSchema
- java.lang.Object
-
- org.apache.iceberg.avro.AvroWithPartnerByStructureVisitor<Type,T>
-
- org.apache.iceberg.avro.AvroWithTypeByStructureVisitor<MappedFields>
-
- org.apache.iceberg.avro.NameMappingWithAvroSchema
-
public class NameMappingWithAvroSchema extends AvroWithTypeByStructureVisitor<MappedFields>
-
-
Constructor Summary
Constructors Constructor Description NameMappingWithAvroSchema()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MappedFieldsarray(Type list, org.apache.avro.Schema array, MappedFields elementResult)MappedFieldsmap(Type sMap, org.apache.avro.Schema map, MappedFields valueResult)MappedFieldsmap(Type sMap, org.apache.avro.Schema map, MappedFields keyResult, MappedFields valueResult)MappedFieldsprimitive(Type type, org.apache.avro.Schema primitive)MappedFieldsrecord(Type struct, org.apache.avro.Schema record, java.util.List<java.lang.String> names, java.util.List<MappedFields> fieldResults)MappedFieldsunion(Type type, org.apache.avro.Schema union, java.util.List<MappedFields> optionResults)-
Methods inherited from class org.apache.iceberg.avro.AvroWithTypeByStructureVisitor
arrayElementType, fieldNameAndType, isMapType, isStringType, mapKeyType, mapValueType, nullType
-
Methods inherited from class org.apache.iceberg.avro.AvroWithPartnerByStructureVisitor
visit
-
-
-
-
Method Detail
-
record
public MappedFields record(Type struct, org.apache.avro.Schema record, java.util.List<java.lang.String> names, java.util.List<MappedFields> fieldResults)
- Overrides:
recordin classAvroWithPartnerByStructureVisitor<Type,MappedFields>
-
union
public MappedFields union(Type type, org.apache.avro.Schema union, java.util.List<MappedFields> optionResults)
- Overrides:
unionin classAvroWithPartnerByStructureVisitor<Type,MappedFields>
-
array
public MappedFields array(Type list, org.apache.avro.Schema array, MappedFields elementResult)
- Overrides:
arrayin classAvroWithPartnerByStructureVisitor<Type,MappedFields>
-
map
public MappedFields map(Type sMap, org.apache.avro.Schema map, MappedFields keyResult, MappedFields valueResult)
- Overrides:
mapin classAvroWithPartnerByStructureVisitor<Type,MappedFields>
-
map
public MappedFields map(Type sMap, org.apache.avro.Schema map, MappedFields valueResult)
- Overrides:
mapin classAvroWithPartnerByStructureVisitor<Type,MappedFields>
-
primitive
public MappedFields primitive(Type type, org.apache.avro.Schema primitive)
- Overrides:
primitivein classAvroWithPartnerByStructureVisitor<Type,MappedFields>
-
-