Class DrillFloat4FloatObjectInspector.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.DrillFloat4FloatObjectInspector.Optional
All Implemented Interfaces:
Cloneable, org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector, org.apache.hadoop.hive.serde2.objectinspector.primitive.FloatObjectInspector, org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector
Enclosing class:
DrillFloat4FloatObjectInspector

public static class DrillFloat4FloatObjectInspector.Optional extends AbstractDrillPrimitiveObjectInspector implements org.apache.hadoop.hive.serde2.objectinspector.primitive.FloatObjectInspector
  • 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
    float
     
     
    org.apache.hadoop.io.FloatWritable
     

    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

    • get

      public float get(Object o)
      Specified by:
      get in interface org.apache.hadoop.hive.serde2.objectinspector.primitive.FloatObjectInspector
    • getPrimitiveJavaObject

      public Float getPrimitiveJavaObject(Object o)
      Specified by:
      getPrimitiveJavaObject in interface org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector
    • getPrimitiveWritableObject

      public org.apache.hadoop.io.FloatWritable getPrimitiveWritableObject(Object o)
      Specified by:
      getPrimitiveWritableObject in interface org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector