org.apache.hadoop.hive.serde2.lazybinary
Class LazyBinaryUtils.RecordInfo

java.lang.Object
  extended by org.apache.hadoop.hive.serde2.lazybinary.LazyBinaryUtils.RecordInfo
Enclosing class:
LazyBinaryUtils

public static class LazyBinaryUtils.RecordInfo
extends Object

Record is the unit that data is serialized in. A record includes two parts. The first part stores the size of the element and the second part stores the real element. size element record -> |----|-------------------------| A RecordInfo stores two information of a record, the size of the "size" part which is the element offset and the size of the element part which is element size.


Field Summary
 byte elementOffset
           
 int elementSize
           
 
Constructor Summary
LazyBinaryUtils.RecordInfo()
           
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

elementOffset

public byte elementOffset

elementSize

public int elementSize
Constructor Detail

LazyBinaryUtils.RecordInfo

public LazyBinaryUtils.RecordInfo()
Method Detail

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010 The Apache Software Foundation