public class WritableFloatObjectInspector extends AbstractPrimitiveWritableObjectInspector implements SettableFloatObjectInspector
PrimitiveObjectInspector.PrimitiveCategory
ObjectInspector.Category
typeInfo
Modifier and Type | Method and Description |
---|---|
Object |
copyObject(Object o)
Get a copy of the Object in the same class, so the return value can be
stored independently of the parameter.
|
Object |
create(float value)
Create an object with the value.
|
float |
get(Object o)
Get the float data.
|
Object |
getPrimitiveJavaObject(Object o)
Get the Java Primitive object.
|
Object |
set(Object o,
float value)
Set the object with the value.
|
getPrimitiveWritableObject, preferWritable
getCategory, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, getTypeName, precision, scale
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getPrimitiveWritableObject, getTypeInfo, precision, preferWritable, scale
getCategory, getTypeName
public float get(Object o)
FloatObjectInspector
get
in interface FloatObjectInspector
public Object copyObject(Object o)
PrimitiveObjectInspector
copyObject
in interface PrimitiveObjectInspector
public Object getPrimitiveJavaObject(Object o)
PrimitiveObjectInspector
getPrimitiveJavaObject
in interface PrimitiveObjectInspector
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.