Class IcebergTimestampWithZoneObjectInspector
- java.lang.Object
-
- org.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveObjectInspector
-
- org.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveJavaObjectInspector
-
- org.apache.iceberg.mr.hive.serde.objectinspector.IcebergTimestampWithZoneObjectInspector
-
- All Implemented Interfaces:
java.lang.Cloneable
,org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector
,org.apache.hadoop.hive.serde2.objectinspector.primitive.TimestampObjectInspector
,org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector
,WriteObjectInspector
public class IcebergTimestampWithZoneObjectInspector extends org.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveJavaObjectInspector implements org.apache.hadoop.hive.serde2.objectinspector.primitive.TimestampObjectInspector, WriteObjectInspector
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.time.OffsetDateTime
convert(java.lang.Object o)
java.lang.Object
copyObject(java.lang.Object o)
static IcebergTimestampWithZoneObjectInspector
get()
java.sql.Timestamp
getPrimitiveJavaObject(java.lang.Object o)
org.apache.hadoop.hive.serde2.io.TimestampWritable
getPrimitiveWritableObject(java.lang.Object o)
-
Methods inherited from class org.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveJavaObjectInspector
preferWritable
-
Methods inherited from class org.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveObjectInspector
getCategory, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, getTypeName, precision, scale
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
get
public static IcebergTimestampWithZoneObjectInspector get()
-
convert
public java.time.OffsetDateTime convert(java.lang.Object o)
- Specified by:
convert
in interfaceWriteObjectInspector
-
getPrimitiveJavaObject
public java.sql.Timestamp getPrimitiveJavaObject(java.lang.Object o)
- Specified by:
getPrimitiveJavaObject
in interfaceorg.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector
- Specified by:
getPrimitiveJavaObject
in interfaceorg.apache.hadoop.hive.serde2.objectinspector.primitive.TimestampObjectInspector
- Overrides:
getPrimitiveJavaObject
in classorg.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveJavaObjectInspector
-
getPrimitiveWritableObject
public org.apache.hadoop.hive.serde2.io.TimestampWritable getPrimitiveWritableObject(java.lang.Object o)
- Specified by:
getPrimitiveWritableObject
in interfaceorg.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector
- Specified by:
getPrimitiveWritableObject
in interfaceorg.apache.hadoop.hive.serde2.objectinspector.primitive.TimestampObjectInspector
-
copyObject
public java.lang.Object copyObject(java.lang.Object o)
- Specified by:
copyObject
in interfaceorg.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector
- Overrides:
copyObject
in classorg.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveJavaObjectInspector
-
-