Package org.apache.iceberg.flink.data
Class AvroWithFlinkSchemaVisitor<T>
java.lang.Object
org.apache.iceberg.avro.AvroWithPartnerByStructureVisitor<org.apache.flink.table.types.logical.LogicalType,T>
org.apache.iceberg.flink.data.AvroWithFlinkSchemaVisitor<T>
public abstract class AvroWithFlinkSchemaVisitor<T>
extends AvroWithPartnerByStructureVisitor<org.apache.flink.table.types.logical.LogicalType,T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.flink.table.types.logical.LogicalTypearrayElementType(org.apache.flink.table.types.logical.LogicalType arrayType) fieldNameAndType(org.apache.flink.table.types.logical.LogicalType structType, int pos) protected booleanisMapType(org.apache.flink.table.types.logical.LogicalType logicalType) protected booleanisStringType(org.apache.flink.table.types.logical.LogicalType logicalType) protected org.apache.flink.table.types.logical.LogicalTypemapKeyType(org.apache.flink.table.types.logical.LogicalType mapType) protected org.apache.flink.table.types.logical.LogicalTypemapValueType(org.apache.flink.table.types.logical.LogicalType mapType) protected org.apache.flink.table.types.logical.LogicalTypenullType()
-
Constructor Details
-
AvroWithFlinkSchemaVisitor
public AvroWithFlinkSchemaVisitor()
-
-
Method Details
-
isStringType
protected boolean isStringType(org.apache.flink.table.types.logical.LogicalType logicalType) - Specified by:
isStringTypein classAvroWithPartnerByStructureVisitor<org.apache.flink.table.types.logical.LogicalType,T>
-
isMapType
protected boolean isMapType(org.apache.flink.table.types.logical.LogicalType logicalType) - Specified by:
isMapTypein classAvroWithPartnerByStructureVisitor<org.apache.flink.table.types.logical.LogicalType,T>
-
arrayElementType
protected org.apache.flink.table.types.logical.LogicalType arrayElementType(org.apache.flink.table.types.logical.LogicalType arrayType) - Specified by:
arrayElementTypein classAvroWithPartnerByStructureVisitor<org.apache.flink.table.types.logical.LogicalType,T>
-
mapKeyType
protected org.apache.flink.table.types.logical.LogicalType mapKeyType(org.apache.flink.table.types.logical.LogicalType mapType) - Specified by:
mapKeyTypein classAvroWithPartnerByStructureVisitor<org.apache.flink.table.types.logical.LogicalType,T>
-
mapValueType
protected org.apache.flink.table.types.logical.LogicalType mapValueType(org.apache.flink.table.types.logical.LogicalType mapType) - Specified by:
mapValueTypein classAvroWithPartnerByStructureVisitor<org.apache.flink.table.types.logical.LogicalType,T>
-
fieldNameAndType
protected Pair<String,org.apache.flink.table.types.logical.LogicalType> fieldNameAndType(org.apache.flink.table.types.logical.LogicalType structType, int pos) - Specified by:
fieldNameAndTypein classAvroWithPartnerByStructureVisitor<org.apache.flink.table.types.logical.LogicalType,T>
-
nullType
protected org.apache.flink.table.types.logical.LogicalType nullType()- Specified by:
nullTypein classAvroWithPartnerByStructureVisitor<org.apache.flink.table.types.logical.LogicalType,T>
-