Package org.apache.iceberg.avro
Class AvroSchemaWithTypeVisitor<T>
java.lang.Object
org.apache.iceberg.avro.AvroSchemaWithTypeVisitor<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionarray(Types.ListType iList, org.apache.avro.Schema array, T element) map(Types.MapType iMap, org.apache.avro.Schema map, T value) map(Types.MapType iMap, org.apache.avro.Schema map, T key, T value) primitive(Type.PrimitiveType iPrimitive, org.apache.avro.Schema primitive) static <T> Tvisit(Schema iSchema, org.apache.avro.Schema schema, AvroSchemaWithTypeVisitor<T> visitor) static <T> Tvisit(Type iType, org.apache.avro.Schema schema, AvroSchemaWithTypeVisitor<T> visitor)
-
Constructor Details
-
AvroSchemaWithTypeVisitor
public AvroSchemaWithTypeVisitor()
-
-
Method Details
-
visit
public static <T> T visit(Schema iSchema, org.apache.avro.Schema schema, AvroSchemaWithTypeVisitor<T> visitor) -
visit
public static <T> T visit(Type iType, org.apache.avro.Schema schema, AvroSchemaWithTypeVisitor<T> visitor) -
record
-
union
-
array
-
map
-
map
-
primitive
-