Class AvroSchemaVisitor<T>

java.lang.Object
org.apache.iceberg.avro.AvroSchemaVisitor<T>
Direct Known Subclasses:
ApplyNameMapping, RemoveIds

public abstract class AvroSchemaVisitor<T> extends Object
  • Constructor Details

    • AvroSchemaVisitor

      public AvroSchemaVisitor()
  • Method Details

    • visit

      public static <T> T visit(org.apache.avro.Schema schema, AvroSchemaVisitor<T> visitor)
    • fieldNames

      protected Deque<String> fieldNames()
    • record

      public T record(org.apache.avro.Schema record, List<String> names, List<T> fields)
    • union

      public T union(org.apache.avro.Schema union, List<T> options)
    • array

      public T array(org.apache.avro.Schema array, T element)
    • map

      public T map(org.apache.avro.Schema map, T value)
    • primitive

      public T primitive(org.apache.avro.Schema primitive)