org.apache.hadoop.hive.serde2.lazy
Class ByteArrayRef

java.lang.Object
  extended by org.apache.hadoop.hive.serde2.lazy.ByteArrayRef

public class ByteArrayRef
extends Object

ByteArrayRef stores a reference to a byte array. The LazyObject hierarchy uses a reference to a single ByteArrayRef, so that it's much faster to switch to the next row and release the reference to the old row (so that the system can do garbage collection if needed).


Constructor Summary
ByteArrayRef()
           
 
Method Summary
 byte[] getData()
           
 void setData(byte[] data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteArrayRef

public ByteArrayRef()
Method Detail

getData

public byte[] getData()

setData

public void setData(byte[] data)


Copyright © 2013 The Apache Software Foundation