org.apache.pig.impl.util
Class HashOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by org.apache.pig.impl.util.HashOutputStream
All Implemented Interfaces:
Closeable, Flushable

public class HashOutputStream
extends OutputStream


Constructor Summary
HashOutputStream(com.google.common.hash.HashFunction hf)
           
 
Method Summary
 com.google.common.hash.HashCode getHashCode()
           
 void write(int b)
           
 
Methods inherited from class java.io.OutputStream
close, flush, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HashOutputStream

public HashOutputStream(com.google.common.hash.HashFunction hf)
Method Detail

write

public void write(int b)
           throws IOException
Specified by:
write in class OutputStream
Throws:
IOException

getHashCode

public com.google.common.hash.HashCode getHashCode()


Copyright © 2007-2012 The Apache Software Foundation