public class JavaFloatObjectInspector extends AbstractPrimitiveJavaObjectInspector implements SettableFloatObjectInspector
PrimitiveObjectInspector.PrimitiveCategory
ObjectInspector.Category
typeInfo
Modifier and Type | Method and Description |
---|---|
Object |
create(float value)
Create an object with the value.
|
float |
get(Object o)
Get the float data.
|
Object |
getPrimitiveWritableObject(Object o)
Return the data in an instance of primitive writable Object.
|
Object |
set(Object o,
float value)
Set the object with the value.
|
copyObject, getPrimitiveJavaObject, preferWritable
getCategory, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, getTypeName, precision, scale
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
copyObject, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveJavaObject, getPrimitiveWritableClass, getTypeInfo, precision, preferWritable, scale
getCategory, getTypeName
public Object getPrimitiveWritableObject(Object o)
PrimitiveObjectInspector
getPrimitiveWritableObject
in interface PrimitiveObjectInspector
public float get(Object o)
FloatObjectInspector
get
in interface FloatObjectInspector
public Object create(float value)
SettableFloatObjectInspector
create
in interface SettableFloatObjectInspector
public Object set(Object o, float value)
SettableFloatObjectInspector
set
in interface SettableFloatObjectInspector
Copyright © 2017 The Apache Software Foundation. All rights reserved.