Class OrcSchemaWithTypeVisitor<T>


  • public abstract class OrcSchemaWithTypeVisitor<T>
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T list​(org.apache.iceberg.types.Types.ListType iList, org.apache.orc.TypeDescription array, T element)  
      T map​(org.apache.iceberg.types.Types.MapType iMap, org.apache.orc.TypeDescription map, T key, T value)  
      T primitive​(org.apache.iceberg.types.Type.PrimitiveType iPrimitive, org.apache.orc.TypeDescription primitive)  
      T record​(org.apache.iceberg.types.Types.StructType iStruct, org.apache.orc.TypeDescription record, java.util.List<java.lang.String> names, java.util.List<T> fields)  
      T variant​(org.apache.iceberg.types.Types.VariantType iVariant, org.apache.orc.TypeDescription variant, T metadata, T value)  
      static <T> T visit​(org.apache.iceberg.Schema iSchema, org.apache.orc.TypeDescription schema, OrcSchemaWithTypeVisitor<T> visitor)  
      static <T> T visit​(org.apache.iceberg.types.Type iType, org.apache.orc.TypeDescription schema, OrcSchemaWithTypeVisitor<T> visitor)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OrcSchemaWithTypeVisitor

        public OrcSchemaWithTypeVisitor()
    • Method Detail

      • visit

        public static <T> T visit​(org.apache.iceberg.Schema iSchema,
                                  org.apache.orc.TypeDescription schema,
                                  OrcSchemaWithTypeVisitor<T> visitor)
      • visit

        public static <T> T visit​(org.apache.iceberg.types.Type iType,
                                  org.apache.orc.TypeDescription schema,
                                  OrcSchemaWithTypeVisitor<T> visitor)
      • record

        public T record​(org.apache.iceberg.types.Types.StructType iStruct,
                        org.apache.orc.TypeDescription record,
                        java.util.List<java.lang.String> names,
                        java.util.List<T> fields)
      • list

        public T list​(org.apache.iceberg.types.Types.ListType iList,
                      org.apache.orc.TypeDescription array,
                      T element)
      • map

        public T map​(org.apache.iceberg.types.Types.MapType iMap,
                     org.apache.orc.TypeDescription map,
                     T key,
                     T value)
      • variant

        public T variant​(org.apache.iceberg.types.Types.VariantType iVariant,
                         org.apache.orc.TypeDescription variant,
                         T metadata,
                         T value)
      • primitive

        public T primitive​(org.apache.iceberg.types.Type.PrimitiveType iPrimitive,
                           org.apache.orc.TypeDescription primitive)