public class WritableLongObjectInspector extends AbstractPrimitiveWritableObjectInspector implements SettableLongObjectInspector
PrimitiveObjectInspector.PrimitiveCategory
ObjectInspector.Category
typeInfo
Modifier and Type | Method and Description |
---|---|
Object |
copyObject(Object o)
Get a copy of the Object in the same class, so the return value can be
stored independently of the parameter.
|
Object |
create(long value)
Create an object with the value.
|
long |
get(Object o)
Get the long data.
|
Object |
getPrimitiveJavaObject(Object o)
Get the Java Primitive object.
|
Object |
set(Object o,
long value)
Set the object with the value.
|
getPrimitiveWritableObject, preferWritable
getCategory, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, getTypeName, precision, scale
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getPrimitiveWritableObject, getTypeInfo, precision, preferWritable, scale
getCategory, getTypeName
public long get(Object o)
LongObjectInspector
get
in interface LongObjectInspector
public Object copyObject(Object o)
PrimitiveObjectInspector
copyObject
in interface PrimitiveObjectInspector
public Object getPrimitiveJavaObject(Object o)
PrimitiveObjectInspector
getPrimitiveJavaObject
in interface PrimitiveObjectInspector
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.