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
Constructors -
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, nullTypeMethods 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:
recordin classAvroWithPartnerByStructureVisitor<Type,MappedFields>
-
union
public MappedFields union(Type type, org.apache.avro.Schema union, List<MappedFields> optionResults) - Overrides:
unionin classAvroWithPartnerByStructureVisitor<Type,MappedFields>
-
array
- 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
- Overrides:
mapin classAvroWithPartnerByStructureVisitor<Type,MappedFields>
-
primitive
- Overrides:
primitivein classAvroWithPartnerByStructureVisitor<Type,MappedFields>
-