org.apache.hadoop.hive.serde2.objectinspector.primitive
Class JavaIntObjectInspector
java.lang.Object
org.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveObjectInspector
org.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveJavaObjectInspector
org.apache.hadoop.hive.serde2.objectinspector.primitive.JavaIntObjectInspector
- All Implemented Interfaces:
- ObjectInspector, IntObjectInspector, PrimitiveObjectInspector
public class JavaIntObjectInspector
- extends AbstractPrimitiveJavaObjectInspector
- implements IntObjectInspector
A JavaIntObjectInspector inspects a Java Integer Object.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getPrimitiveWritableObject
public Object getPrimitiveWritableObject(Object o)
- Description copied from interface:
PrimitiveObjectInspector
- Return the data in an instance of primitive writable Object. If the
Object is already a primitive writable Object, just return o.
- Specified by:
getPrimitiveWritableObject
in interface PrimitiveObjectInspector
get
public int get(Object o)
- Description copied from interface:
IntObjectInspector
- Get the int data.
- Specified by:
get
in interface IntObjectInspector
Copyright © 2009 The Apache Software Foundation