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 TypearrayElementType(Type arrayType)protected Pair<java.lang.String,Type>fieldNameAndType(Type structType, int pos)protected booleanisMapType(Type type)protected booleanisStringType(Type type)protected TypemapKeyType(Type mapType)protected TypemapValueType(Type mapType)protected TypenullType()
-
-
-
Method Detail
-
isMapType
protected boolean isMapType(Type type)
- Specified by:
isMapTypein classAvroWithPartnerByStructureVisitor<Type,T>
-
isStringType
protected boolean isStringType(Type type)
- Specified by:
isStringTypein classAvroWithPartnerByStructureVisitor<Type,T>
-
arrayElementType
protected Type arrayElementType(Type arrayType)
- Specified by:
arrayElementTypein classAvroWithPartnerByStructureVisitor<Type,T>
-
mapKeyType
protected Type mapKeyType(Type mapType)
- Specified by:
mapKeyTypein classAvroWithPartnerByStructureVisitor<Type,T>
-
mapValueType
protected Type mapValueType(Type mapType)
- Specified by:
mapValueTypein classAvroWithPartnerByStructureVisitor<Type,T>
-
fieldNameAndType
protected Pair<java.lang.String,Type> fieldNameAndType(Type structType, int pos)
- Specified by:
fieldNameAndTypein classAvroWithPartnerByStructureVisitor<Type,T>
-
nullType
protected Type nullType()
- Specified by:
nullTypein classAvroWithPartnerByStructureVisitor<Type,T>
-
-