public final class IcebergObjectInspector extends TypeUtil.SchemaVisitor<org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector>
Modifier and Type | Field and 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 |
Constructor and Description |
---|
IcebergObjectInspector() |
Modifier and Type | Method and 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) |
afterField, afterListElement, afterMapKey, afterMapValue, beforeField, beforeListElement, beforeMapKey, beforeMapValue
public static final org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector DATE_INSPECTOR
public static final org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector TIMESTAMP_INSPECTOR
public static final org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector TIMESTAMP_INSPECTOR_WITH_TZ
public static org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector create(@Nullable Schema schema)
public static org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector create(Types.NestedField... fields)
public org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector field(Types.NestedField field, org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector fieldObjectInspector)
field
in class TypeUtil.SchemaVisitor<org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector>
public org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector list(Types.ListType listTypeInfo, org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector listObjectInspector)
list
in class TypeUtil.SchemaVisitor<org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector>
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)
map
in class TypeUtil.SchemaVisitor<org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector>
public org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector primitive(Type.PrimitiveType primitiveType)
primitive
in class TypeUtil.SchemaVisitor<org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector>
public org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector schema(Schema schema, org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector structObjectInspector)
schema
in class TypeUtil.SchemaVisitor<org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector>
public org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector struct(Types.StructType structType, java.util.List<org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector> fieldObjectInspectors)
struct
in class TypeUtil.SchemaVisitor<org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector>