public class IntOptionInspector extends AbstractValueInspector implements org.apache.hadoop.hive.serde2.objectinspector.primitive.IntObjectInspector
IntOption
object.Constructor and Description |
---|
IntOptionInspector()
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
int |
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 int get(Object o)
get
in interface org.apache.hadoop.hive.serde2.objectinspector.primitive.IntObjectInspector
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.