org.apache.hadoop.hive.serde2.objectinspector.primitive
Class JavaLongObjectInspector

java.lang.Object
  extended by org.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveObjectInspector
      extended by org.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveJavaObjectInspector
          extended by org.apache.hadoop.hive.serde2.objectinspector.primitive.JavaLongObjectInspector
All Implemented Interfaces:
ObjectInspector, LongObjectInspector, PrimitiveObjectInspector

public class JavaLongObjectInspector
extends AbstractPrimitiveJavaObjectInspector
implements LongObjectInspector

A JavaLongObjectInspector inspects a Java Long Object.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector
PrimitiveObjectInspector.PrimitiveCategory
 
Nested classes/interfaces inherited from interface org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector
ObjectInspector.Category
 
Method Summary
 long get(Object o)
          Get the long data.
 Object getPrimitiveWritableObject(Object o)
          Return the data in an instance of primitive writable Object.
 
Methods inherited from class org.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveJavaObjectInspector
copyObject, getPrimitiveJavaObject, preferWritable
 
Methods inherited from class org.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveObjectInspector
getCategory, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector
copyObject, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveJavaObject, getPrimitiveWritableClass, preferWritable
 
Methods inherited from interface org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector
getCategory, getTypeName
 

Method Detail

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 long get(Object o)
Description copied from interface: LongObjectInspector
Get the long data.

Specified by:
get in interface LongObjectInspector


Copyright © 2009 The Apache Software Foundation