org.apache.hadoop.hive.serde2
Class ByteStream.Output

java.lang.Object
  extended by java.io.OutputStream
      extended by java.io.ByteArrayOutputStream
          extended by org.apache.hadoop.hive.serde2.ByteStream.Output
All Implemented Interfaces:
Closeable, Flushable
Enclosing class:
ByteStream

public static class ByteStream.Output
extends ByteArrayOutputStream


Field Summary
 
Fields inherited from class java.io.ByteArrayOutputStream
buf, count
 
Constructor Summary
ByteStream.Output()
           
ByteStream.Output(int size)
           
 
Method Summary
 int getCount()
           
 byte[] getData()
           
 
Methods inherited from class java.io.ByteArrayOutputStream
close, reset, size, toByteArray, toString, toString, toString, write, write, writeTo
 
Methods inherited from class java.io.OutputStream
flush, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ByteStream.Output

public ByteStream.Output()

ByteStream.Output

public ByteStream.Output(int size)
Method Detail

getData

public byte[] getData()

getCount

public int getCount()


Copyright © 2009 The Apache Software Foundation