Class IcebergDateObjectInspector

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.IcebergDateObjectInspector
All Implemented Interfaces:
Cloneable, org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector, org.apache.hadoop.hive.serde2.objectinspector.primitive.DateObjectInspector, org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector, WriteObjectInspector

public final class IcebergDateObjectInspector extends org.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveJavaObjectInspector implements org.apache.hadoop.hive.serde2.objectinspector.primitive.DateObjectInspector, WriteObjectInspector
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector

    org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector.Category

    Nested classes/interfaces inherited from interface org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector

    org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector.PrimitiveCategory
  • Field Summary

    Fields inherited from class org.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveObjectInspector

    typeInfo
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
    get()
     
     
    org.apache.hadoop.hive.serde2.io.DateWritable
     

    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

    Methods inherited from interface org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector

    getCategory, getTypeName

    Methods inherited from interface org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector

    getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, precision, preferWritable, scale
  • Method Details

    • get

      public static IcebergDateObjectInspector get()
    • getPrimitiveJavaObject

      public Date getPrimitiveJavaObject(Object o)
      Specified by:
      getPrimitiveJavaObject in interface org.apache.hadoop.hive.serde2.objectinspector.primitive.DateObjectInspector
      Specified by:
      getPrimitiveJavaObject in interface org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector
      Overrides:
      getPrimitiveJavaObject in class org.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveJavaObjectInspector
    • getPrimitiveWritableObject

      public org.apache.hadoop.hive.serde2.io.DateWritable getPrimitiveWritableObject(Object o)
      Specified by:
      getPrimitiveWritableObject in interface org.apache.hadoop.hive.serde2.objectinspector.primitive.DateObjectInspector
      Specified by:
      getPrimitiveWritableObject in interface org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector
    • copyObject

      public Object copyObject(Object o)
      Specified by:
      copyObject in interface org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector
      Overrides:
      copyObject in class org.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveJavaObjectInspector
    • convert

      public LocalDate convert(Object o)
      Specified by:
      convert in interface WriteObjectInspector