Class DrillDateDateObjectInspector.Optional

java.lang.Object
org.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveObjectInspector
org.apache.drill.exec.expr.fn.impl.hive.AbstractDrillPrimitiveObjectInspector
org.apache.drill.exec.expr.fn.impl.hive.DrillDateDateObjectInspector.Optional
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
Enclosing class:
DrillDateDateObjectInspector

public static class DrillDateDateObjectInspector.Optional extends AbstractDrillPrimitiveObjectInspector implements org.apache.hadoop.hive.serde2.objectinspector.primitive.DateObjectInspector
  • 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
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.hadoop.hive.common.type.Date
     
    org.apache.hadoop.hive.serde2.io.DateWritableV2
     

    Methods inherited from class org.apache.drill.exec.expr.fn.impl.hive.AbstractDrillPrimitiveObjectInspector

    copyObject, 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

    copyObject, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, precision, preferWritable, scale
  • Constructor Details

    • Optional

      public Optional()
  • Method Details

    • getPrimitiveJavaObject

      public org.apache.hadoop.hive.common.type.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
    • getPrimitiveWritableObject

      public org.apache.hadoop.hive.serde2.io.DateWritableV2 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