org.apache.hadoop.hive.serde2.objectinspector.primitive
Class JavaFloatObjectInspector
java.lang.Object
org.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveObjectInspector
org.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveJavaObjectInspector
org.apache.hadoop.hive.serde2.objectinspector.primitive.JavaFloatObjectInspector
- All Implemented Interfaces:
- ObjectInspector, FloatObjectInspector, PrimitiveObjectInspector
public class JavaFloatObjectInspector
- extends AbstractPrimitiveJavaObjectInspector
- implements FloatObjectInspector
A JavaFloatObjectInspector inspects a Java Float Object.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getPrimitiveWritableObject
public Object getPrimitiveWritableObject(Object o)
- Description copied from interface:
PrimitiveObjectInspector
- Return the data in an instance of primitive writable Object. If the
Object is already a primitive writable Object, just return o.
- Specified by:
getPrimitiveWritableObject
in interface PrimitiveObjectInspector
get
public float get(Object o)
- Description copied from interface:
FloatObjectInspector
- Get the float data.
- Specified by:
get
in interface FloatObjectInspector
Copyright © 2009 The Apache Software Foundation