org.apache.hadoop.hive.serde2.lazy.objectinspector.primitive
Class LazyFloatObjectInspector
java.lang.Object
org.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveObjectInspector
org.apache.hadoop.hive.serde2.lazy.objectinspector.primitive.AbstractPrimitiveLazyObjectInspector<org.apache.hadoop.io.FloatWritable>
org.apache.hadoop.hive.serde2.lazy.objectinspector.primitive.LazyFloatObjectInspector
- All Implemented Interfaces:
- Cloneable, ObjectInspector, FloatObjectInspector, PrimitiveObjectInspector
public class LazyFloatObjectInspector
- extends AbstractPrimitiveLazyObjectInspector<org.apache.hadoop.io.FloatWritable>
- implements FloatObjectInspector
A FloatObjectInspector inspects a FloatWritable Object.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
get
public float get(Object o)
- Description copied from interface:
FloatObjectInspector
- Get the float data.
- Specified by:
get
in interface FloatObjectInspector
copyObject
public Object copyObject(Object o)
- Description copied from interface:
PrimitiveObjectInspector
- Get a copy of the Object in the same class, so the return value can be
stored independently of the parameter.
If the Object is a Primitive Java Object, we just return the parameter
since Primitive Java Object is immutable.
- Specified by:
copyObject
in interface PrimitiveObjectInspector
getPrimitiveJavaObject
public Object getPrimitiveJavaObject(Object o)
- Description copied from interface:
PrimitiveObjectInspector
- Get the Java Primitive object.
- Specified by:
getPrimitiveJavaObject
in interface PrimitiveObjectInspector
Copyright © 2010 The Apache Software Foundation