org.apache.hadoop.hive.serde2.lazy
Class LazyObject<OI extends ObjectInspector>

java.lang.Object
  extended by org.apache.hadoop.hive.serde2.lazy.LazyObjectBase
      extended by org.apache.hadoop.hive.serde2.lazy.LazyObject<OI>
Direct Known Subclasses:
LazyNonPrimitive, LazyPrimitive

public abstract class LazyObject<OI extends ObjectInspector>
extends LazyObjectBase

LazyObject stores an object in a range of bytes in a byte[]. A LazyObject can represent any primitive object or hierarchical object like array, map or struct.


Field Summary
protected  OI oi
           
 
Constructor Summary
protected LazyObject(OI oi)
          Create a LazyObject.
 
Method Summary
protected  OI getInspector()
           
abstract  int hashCode()
           
protected  void setInspector(OI oi)
           
 
Methods inherited from class org.apache.hadoop.hive.serde2.lazy.LazyObjectBase
getObject, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

oi

protected OI extends ObjectInspector oi
Constructor Detail

LazyObject

protected LazyObject(OI oi)
Create a LazyObject.

Parameters:
oi - Derived classes can access meta information about this Lazy Object (e.g, separator, nullSequence, escaper) from it.
Method Detail

hashCode

public abstract int hashCode()
Overrides:
hashCode in class Object

getInspector

protected OI getInspector()

setInspector

protected void setInspector(OI oi)


Copyright © 2013 The Apache Software Foundation