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 Summary
Modifier and TypeFieldDescriptionstatic final org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector
static final org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector
static final org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector
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, List<org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector> fieldObjectInspectors) Methods inherited from class org.apache.iceberg.types.TypeUtil.SchemaVisitor
afterField, afterListElement, afterMapKey, afterMapValue, beforeField, beforeListElement, beforeMapKey, beforeMapValue
-
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 classTypeUtil.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 classTypeUtil.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 classTypeUtil.SchemaVisitor<org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector>
-
primitive
public org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector primitive(Type.PrimitiveType primitiveType) - Overrides:
primitive
in classTypeUtil.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 classTypeUtil.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 classTypeUtil.SchemaVisitor<org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector>
-