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