Package org.apache.iceberg.avro
Class NameMappingWithAvroSchema
java.lang.Object
org.apache.iceberg.avro.AvroWithPartnerByStructureVisitor<Type,MappedFields>
org.apache.iceberg.avro.AvroWithTypeByStructureVisitor<MappedFields>
org.apache.iceberg.avro.NameMappingWithAvroSchema
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionarray
(Type list, org.apache.avro.Schema array, MappedFields elementResult) map
(Type sMap, org.apache.avro.Schema map, MappedFields valueResult) map
(Type sMap, org.apache.avro.Schema map, MappedFields keyResult, MappedFields valueResult) record
(Type struct, org.apache.avro.Schema record, List<String> names, List<MappedFields> fieldResults) union
(Type type, org.apache.avro.Schema union, 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
-
Constructor Details
-
NameMappingWithAvroSchema
public NameMappingWithAvroSchema()
-
-
Method Details
-
record
public MappedFields record(Type struct, org.apache.avro.Schema record, List<String> names, List<MappedFields> fieldResults) - Overrides:
record
in classAvroWithPartnerByStructureVisitor<Type,
MappedFields>
-
union
public MappedFields union(Type type, org.apache.avro.Schema union, List<MappedFields> optionResults) - Overrides:
union
in classAvroWithPartnerByStructureVisitor<Type,
MappedFields>
-
array
- 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
- Overrides:
map
in classAvroWithPartnerByStructureVisitor<Type,
MappedFields>
-
primitive
- Overrides:
primitive
in classAvroWithPartnerByStructureVisitor<Type,
MappedFields>
-