org.apache.hadoop.hive.serde2.objectinspector
Class InspectableObject

java.lang.Object
  extended by org.apache.hadoop.hive.serde2.objectinspector.InspectableObject

public class InspectableObject
extends Object

Simple wrapper of object with ObjectInspector. TODO: we need to redefine the hashCode and equals methods, so that it can be put into a HashMap as a key. This class also serves as a facility for a function that returns both an object and an ObjectInspector.


Field Summary
 Object o
           
 ObjectInspector oi
           
 
Constructor Summary
InspectableObject()
           
InspectableObject(Object o, ObjectInspector oi)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

o

public Object o

oi

public ObjectInspector oi
Constructor Detail

InspectableObject

public InspectableObject()

InspectableObject

public InspectableObject(Object o,
                         ObjectInspector oi)


Copyright © 2011 The Apache Software Foundation