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.common.io.NonSyncByteArrayOutputStream
              extended by org.apache.hadoop.hive.serde2.ByteStream.Output
All Implemented Interfaces:
Closeable, Flushable
Enclosing class:
ByteStream

public static class ByteStream.Output
extends NonSyncByteArrayOutputStream

Output.


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 org.apache.hadoop.hive.common.io.NonSyncByteArrayOutputStream
getLength, reset, write, write, write, writeTo
 
Methods inherited from class java.io.ByteArrayOutputStream
close, size, toByteArray, toString, toString, toString
 
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()
Overrides:
getData in class NonSyncByteArrayOutputStream

getCount

public int getCount()


Copyright © 2013 The Apache Software Foundation