public class JavaDoubleObjectInspector extends AbstractPrimitiveJavaObjectInspector implements SettableDoubleObjectInspector
PrimitiveObjectInspector.PrimitiveCategory
ObjectInspector.Category
typeParams
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
create(double value)
Create an object with the value.
|
double |
get(java.lang.Object o)
Get the double data.
|
java.lang.Object |
getPrimitiveWritableObject(java.lang.Object o)
Return the data in an instance of primitive writable Object.
|
java.lang.Object |
set(java.lang.Object o,
double value)
Set the object with the value.
|
copyObject, getPrimitiveJavaObject, preferWritable
getCategory, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeName, getTypeParams, setTypeParams
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
copyObject, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveJavaObject, getPrimitiveWritableClass, getTypeParams, preferWritable, setTypeParams
getCategory, getTypeName
public java.lang.Object getPrimitiveWritableObject(java.lang.Object o)
PrimitiveObjectInspector
getPrimitiveWritableObject
in interface PrimitiveObjectInspector
public double get(java.lang.Object o)
DoubleObjectInspector
get
in interface DoubleObjectInspector
public java.lang.Object create(double value)
SettableDoubleObjectInspector
create
in interface SettableDoubleObjectInspector
public java.lang.Object set(java.lang.Object o, double value)
SettableDoubleObjectInspector
set
in interface SettableDoubleObjectInspector
Copyright © 2012 The Apache Software Foundation