Package org.apache.iceberg.avro
Class AvroWithPartnerByStructureVisitor<P,T> 
java.lang.Object
org.apache.iceberg.avro.AvroWithPartnerByStructureVisitor<P,T> 
- Type Parameters:
 P- Partner type.T- Return T.
- Direct Known Subclasses:
 AvroWithFlinkSchemaVisitor,AvroWithSparkSchemaVisitor,AvroWithTypeByStructureVisitor
A abstract avro schema visitor with partner type. The visitor rely on the structure matching
 exactly and are guaranteed that because both schemas are derived from the same Iceberg schema.
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected abstract ParrayElementType(P arrayType) fieldNameAndType(P structType, int pos) protected abstract booleanprotected abstract booleanisStringType(P type) protected abstract PmapKeyType(P mapType) protected abstract PmapValueType(P mapType) protected abstract PnullType()static <P,T> T visit(P partner, org.apache.avro.Schema schema, AvroWithPartnerByStructureVisitor<P, T> visitor)  
- 
Constructor Details
- 
AvroWithPartnerByStructureVisitor
public AvroWithPartnerByStructureVisitor() 
 - 
 - 
Method Details
- 
visit
public static <P,T> T visit(P partner, org.apache.avro.Schema schema, AvroWithPartnerByStructureVisitor<P, T> visitor)  - 
isMapType
 - 
isStringType
 - 
arrayElementType
 - 
mapKeyType
 - 
mapValueType
 - 
fieldNameAndType
 - 
nullType
 - 
record
 - 
union
 - 
array
 - 
map
 - 
map
 - 
primitive
 
 -