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