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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Type
arrayElementType
(Type arrayType) fieldNameAndType
(Type structType, int pos) protected boolean
protected boolean
isStringType
(Type type) protected Type
mapKeyType
(Type mapType) protected Type
mapValueType
(Type mapType) protected Type
nullType()
-
Constructor Details
-
AvroWithTypeByStructureVisitor
public AvroWithTypeByStructureVisitor()
-
-
Method Details
-
isMapType
- Specified by:
isMapType
in classAvroWithPartnerByStructureVisitor<Type,
T>
-
isStringType
- Specified by:
isStringType
in classAvroWithPartnerByStructureVisitor<Type,
T>
-
arrayElementType
- Specified by:
arrayElementType
in classAvroWithPartnerByStructureVisitor<Type,
T>
-
mapKeyType
- Specified by:
mapKeyType
in classAvroWithPartnerByStructureVisitor<Type,
T>
-
mapValueType
- Specified by:
mapValueType
in classAvroWithPartnerByStructureVisitor<Type,
T>
-
fieldNameAndType
- Specified by:
fieldNameAndType
in classAvroWithPartnerByStructureVisitor<Type,
T>
-
nullType
- Specified by:
nullType
in classAvroWithPartnerByStructureVisitor<Type,
T>
-