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