Class IcebergObjectInspector

java.lang.Object
org.apache.iceberg.types.TypeUtil.SchemaVisitor<org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector>
org.apache.iceberg.mr.hive.serde.objectinspector.IcebergObjectInspector

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

    • 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 Details

    • IcebergObjectInspector

      public IcebergObjectInspector()
  • Method Details

    • 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, List<org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector> fieldObjectInspectors)
      Overrides:
      struct in class TypeUtil.SchemaVisitor<org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector>