public class FloatOptionInspector extends AbstractValueInspector implements org.apache.hadoop.hive.serde2.objectinspector.primitive.FloatObjectInspector
FloatOption
object.Constructor and Description |
---|
FloatOptionInspector()
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
float |
get(Object o) |
Object |
getPrimitiveJavaObject(Object o) |
Object |
getPrimitiveWritableObject(Object o) |
protected ValueOption<?> |
newObject()
Creates a new instance for supported
ValueOption type. |
copyObject, preferWritable
getCategory, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, getTypeName, precision, scale
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected ValueOption<?> newObject()
AbstractValueInspector
ValueOption
type.newObject
in class AbstractValueInspector
public Object getPrimitiveJavaObject(Object o)
getPrimitiveJavaObject
in interface org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector
public Object getPrimitiveWritableObject(Object o)
getPrimitiveWritableObject
in interface org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector
public float get(Object o)
get
in interface org.apache.hadoop.hive.serde2.objectinspector.primitive.FloatObjectInspector
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.