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 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)
-
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:
record
in classAvroWithPartnerByStructureVisitor<Type,MappedFields>
-
union
public MappedFields union(Type type, org.apache.avro.Schema union, java.util.List<MappedFields> optionResults)
- Overrides:
union
in classAvroWithPartnerByStructureVisitor<Type,MappedFields>
-
array
public MappedFields array(Type list, org.apache.avro.Schema array, MappedFields elementResult)
- Overrides:
array
in classAvroWithPartnerByStructureVisitor<Type,MappedFields>
-
map
public MappedFields map(Type sMap, org.apache.avro.Schema map, MappedFields keyResult, MappedFields valueResult)
- Overrides:
map
in classAvroWithPartnerByStructureVisitor<Type,MappedFields>
-
map
public MappedFields map(Type sMap, org.apache.avro.Schema map, MappedFields valueResult)
- Overrides:
map
in classAvroWithPartnerByStructureVisitor<Type,MappedFields>
-
primitive
public MappedFields primitive(Type type, org.apache.avro.Schema primitive)
- Overrides:
primitive
in classAvroWithPartnerByStructureVisitor<Type,MappedFields>
-
-