Class IcebergObjectInspector


  • public final class IcebergObjectInspector
    extends TypeUtil.SchemaVisitor<org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector DATE_INSPECTOR  
      static org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector TIMESTAMP_INSPECTOR  
      static org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector TIMESTAMP_INSPECTOR_WITH_TZ  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector create​(Schema schema)  
      static org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector create​(Types.NestedField... fields)  
      org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector field​(Types.NestedField field, org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector fieldObjectInspector)  
      org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector list​(Types.ListType listTypeInfo, org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector listObjectInspector)  
      org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector map​(Types.MapType mapType, org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector keyObjectInspector, org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector valueObjectInspector)  
      org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector primitive​(Type.PrimitiveType primitiveType)  
      org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector schema​(Schema schema, org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector structObjectInspector)  
      org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector struct​(Types.StructType structType, java.util.List<org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector> fieldObjectInspectors)  
      • Methods inherited from class java.lang.Object

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

      • DATE_INSPECTOR

        public static final org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector DATE_INSPECTOR
      • TIMESTAMP_INSPECTOR

        public static final org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector TIMESTAMP_INSPECTOR
      • TIMESTAMP_INSPECTOR_WITH_TZ

        public static final org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector TIMESTAMP_INSPECTOR_WITH_TZ
    • Constructor Detail

      • IcebergObjectInspector

        public IcebergObjectInspector()
    • Method Detail

      • create

        public static org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector create​(@Nullable
                                                                                           Schema schema)
      • create

        public static org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector create​(Types.NestedField... fields)
      • field

        public org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector field​(Types.NestedField field,
                                                                                   org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector fieldObjectInspector)
        Overrides:
        field in class TypeUtil.SchemaVisitor<org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector>
      • list

        public org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector list​(Types.ListType listTypeInfo,
                                                                                  org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector listObjectInspector)
        Overrides:
        list in class TypeUtil.SchemaVisitor<org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector>
      • map

        public org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector map​(Types.MapType mapType,
                                                                                 org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector keyObjectInspector,
                                                                                 org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector valueObjectInspector)
        Overrides:
        map in class TypeUtil.SchemaVisitor<org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector>
      • primitive

        public org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector primitive​(Type.PrimitiveType primitiveType)
        Overrides:
        primitive in class TypeUtil.SchemaVisitor<org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector>
      • schema

        public org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector schema​(Schema schema,
                                                                                    org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector structObjectInspector)
        Overrides:
        schema in class TypeUtil.SchemaVisitor<org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector>
      • struct

        public org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector struct​(Types.StructType structType,
                                                                                    java.util.List<org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector> fieldObjectInspectors)
        Overrides:
        struct in class TypeUtil.SchemaVisitor<org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector>