Class ParquetTypeVisitor<T>

java.lang.Object
org.apache.iceberg.parquet.ParquetTypeVisitor<T>
Direct Known Subclasses:
ParquetSchemaUtil.HasIds, RemoveIds

public class ParquetTypeVisitor<T> extends Object
  • Constructor Details

    • ParquetTypeVisitor

      public ParquetTypeVisitor()
  • Method Details

    • visit

      public static <T> T visit(org.apache.parquet.schema.Type type, ParquetTypeVisitor<T> visitor)
    • message

      public T message(org.apache.parquet.schema.MessageType message, List<T> fields)
    • struct

      public T struct(org.apache.parquet.schema.GroupType struct, List<T> fields)
    • list

      public T list(org.apache.parquet.schema.GroupType array, T element)
    • map

      public T map(org.apache.parquet.schema.GroupType map, T key, T value)
    • primitive

      public T primitive(org.apache.parquet.schema.PrimitiveType primitive)
    • beforeField

      public void beforeField(org.apache.parquet.schema.Type type)
    • afterField

      public void afterField(org.apache.parquet.schema.Type type)
    • beforeRepeatedElement

      public void beforeRepeatedElement(org.apache.parquet.schema.Type element)
    • afterRepeatedElement

      public void afterRepeatedElement(org.apache.parquet.schema.Type element)
    • beforeElementField

      public void beforeElementField(org.apache.parquet.schema.Type element)
    • afterElementField

      public void afterElementField(org.apache.parquet.schema.Type element)
    • beforeRepeatedKeyValue

      public void beforeRepeatedKeyValue(org.apache.parquet.schema.Type keyValue)
    • afterRepeatedKeyValue

      public void afterRepeatedKeyValue(org.apache.parquet.schema.Type keyValue)
    • beforeKeyField

      public void beforeKeyField(org.apache.parquet.schema.Type key)
    • afterKeyField

      public void afterKeyField(org.apache.parquet.schema.Type key)
    • beforeValueField

      public void beforeValueField(org.apache.parquet.schema.Type value)
    • afterValueField

      public void afterValueField(org.apache.parquet.schema.Type value)
    • currentPath

      protected String[] currentPath()
    • path

      protected String[] path(String name)