org.apache.hadoop.hive.serde2.lazybinary
Class LazyBinaryObject<OI extends ObjectInspector>

java.lang.Object
  extended by org.apache.hadoop.hive.serde2.lazy.LazyObjectBase
      extended by org.apache.hadoop.hive.serde2.lazybinary.LazyBinaryObject<OI>
Direct Known Subclasses:
LazyBinaryNonPrimitive, LazyBinaryPrimitive

public abstract class LazyBinaryObject<OI extends ObjectInspector>
extends LazyObjectBase

LazyBinaryObject stores an object in a binary format in a byte[]. For example, a double takes four bytes. A LazyBinaryObject can represent any primitive object or hierarchical object like string, list, map or struct.


Constructor Summary
protected LazyBinaryObject(OI oi)
          Create a LazyBinaryObject.
 
Method Summary
abstract  int hashCode()
           
 
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
 

Constructor Detail

LazyBinaryObject

protected LazyBinaryObject(OI oi)
Create a LazyBinaryObject.

Parameters:
oi - Derived classes can access meta information about this Lazy Binary Object (e.g, length, null-bits) from it.
Method Detail

hashCode

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


Copyright © 2013 The Apache Software Foundation