org.apache.hadoop.hive.serde2.lazybinary
Class LazyBinaryUtils.RecordInfo
java.lang.Object
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.
elementOffset
public byte elementOffset
elementSize
public int elementSize
LazyBinaryUtils.RecordInfo
public LazyBinaryUtils.RecordInfo()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2011 The Apache Software Foundation