Package org.apache.iceberg.avro
Class AvroWithTypeByStructureVisitor<T>
- java.lang.Object
-
- org.apache.iceberg.avro.AvroWithPartnerByStructureVisitor<Type,T>
-
- org.apache.iceberg.avro.AvroWithTypeByStructureVisitor<T>
-
- Direct Known Subclasses:
NameMappingWithAvroSchema
public class AvroWithTypeByStructureVisitor<T> extends AvroWithPartnerByStructureVisitor<Type,T>
-
-
Constructor Summary
Constructors Constructor Description AvroWithTypeByStructureVisitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Type
arrayElementType(Type arrayType)
protected Pair<java.lang.String,Type>
fieldNameAndType(Type structType, int pos)
protected boolean
isMapType(Type type)
protected boolean
isStringType(Type type)
protected Type
mapKeyType(Type mapType)
protected Type
mapValueType(Type mapType)
protected Type
nullType()
-
-
-
Method Detail
-
isMapType
protected boolean isMapType(Type type)
- Specified by:
isMapType
in classAvroWithPartnerByStructureVisitor<Type,T>
-
isStringType
protected boolean isStringType(Type type)
- Specified by:
isStringType
in classAvroWithPartnerByStructureVisitor<Type,T>
-
arrayElementType
protected Type arrayElementType(Type arrayType)
- Specified by:
arrayElementType
in classAvroWithPartnerByStructureVisitor<Type,T>
-
mapKeyType
protected Type mapKeyType(Type mapType)
- Specified by:
mapKeyType
in classAvroWithPartnerByStructureVisitor<Type,T>
-
mapValueType
protected Type mapValueType(Type mapType)
- Specified by:
mapValueType
in classAvroWithPartnerByStructureVisitor<Type,T>
-
fieldNameAndType
protected Pair<java.lang.String,Type> fieldNameAndType(Type structType, int pos)
- Specified by:
fieldNameAndType
in classAvroWithPartnerByStructureVisitor<Type,T>
-
nullType
protected Type nullType()
- Specified by:
nullType
in classAvroWithPartnerByStructureVisitor<Type,T>
-
-