public final class IcebergDateObjectInspector extends org.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveJavaObjectInspector implements org.apache.hadoop.hive.serde2.objectinspector.primitive.DateObjectInspector, WriteObjectInspector
Modifier and Type | Method and Description |
---|---|
java.time.LocalDate |
convert(java.lang.Object o) |
java.lang.Object |
copyObject(java.lang.Object o) |
static IcebergDateObjectInspector |
get() |
java.sql.Date |
getPrimitiveJavaObject(java.lang.Object o) |
org.apache.hadoop.hive.serde2.io.DateWritable |
getPrimitiveWritableObject(java.lang.Object o) |
preferWritable
getCategory, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, getTypeName, precision, scale
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static IcebergDateObjectInspector get()
public java.sql.Date getPrimitiveJavaObject(java.lang.Object o)
getPrimitiveJavaObject
in interface org.apache.hadoop.hive.serde2.objectinspector.primitive.DateObjectInspector
getPrimitiveJavaObject
in interface org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector
getPrimitiveJavaObject
in class org.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveJavaObjectInspector
public org.apache.hadoop.hive.serde2.io.DateWritable getPrimitiveWritableObject(java.lang.Object o)
getPrimitiveWritableObject
in interface org.apache.hadoop.hive.serde2.objectinspector.primitive.DateObjectInspector
getPrimitiveWritableObject
in interface org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector
public java.lang.Object copyObject(java.lang.Object o)
copyObject
in interface org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector
copyObject
in class org.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveJavaObjectInspector
public java.time.LocalDate convert(java.lang.Object o)
convert
in interface WriteObjectInspector