public class JavaDoubleObjectInspector extends AbstractPrimitiveJavaObjectInspector implements SettableDoubleObjectInspector
PrimitiveObjectInspector.PrimitiveCategory
ObjectInspector.Category
typeInfo
Modifier and Type | Method and Description |
---|---|
Object |
create(double value)
Create an object with the value.
|
double |
get(Object o)
Get the double data.
|
Object |
getPrimitiveWritableObject(Object o)
Return the data in an instance of primitive writable Object.
|
Object |
set(Object o,
double 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 double get(Object o)
DoubleObjectInspector
get
in interface DoubleObjectInspector
public Object create(double value)
SettableDoubleObjectInspector
create
in interface SettableDoubleObjectInspector
public Object set(Object o, double value)
SettableDoubleObjectInspector
set
in interface SettableDoubleObjectInspector
Copyright © 2017 The Apache Software Foundation. All rights reserved.