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

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.ByteArrayInputStream
          extended by org.apache.hadoop.hive.common.io.NonSyncByteArrayInputStream
              extended by org.apache.hadoop.hive.serde2.ByteStream.Input
All Implemented Interfaces:
Closeable
Enclosing class:
ByteStream

public static class ByteStream.Input
extends NonSyncByteArrayInputStream

Input.


Field Summary
 
Fields inherited from class java.io.ByteArrayInputStream
buf, count, mark, pos
 
Constructor Summary
ByteStream.Input()
           
ByteStream.Input(byte[] buf)
           
ByteStream.Input(byte[] buf, int offset, int length)
           
 
Method Summary
 int getCount()
           
 byte[] getData()
           
 void reset(byte[] argBuf, int argCount)
           
 
Methods inherited from class org.apache.hadoop.hive.common.io.NonSyncByteArrayInputStream
available, getLength, getPosition, read, read, reset, skip
 
Methods inherited from class java.io.ByteArrayInputStream
close, mark, markSupported, reset
 
Methods inherited from class java.io.InputStream
read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteStream.Input

public ByteStream.Input()

ByteStream.Input

public ByteStream.Input(byte[] buf)

ByteStream.Input

public ByteStream.Input(byte[] buf,
                        int offset,
                        int length)
Method Detail

getData

public byte[] getData()

getCount

public int getCount()

reset

public void reset(byte[] argBuf,
                  int argCount)


Copyright © 2013 The Apache Software Foundation