protected static class ReusableStreamGzipCodec.ReusableGzipOutputStream
extends org.apache.hadoop.io.compress.CompressorStream
| Constructor and Description |
|---|
ReusableStreamGzipCodec.ReusableGzipOutputStream(OutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
finish() |
void |
flush() |
void |
resetState() |
void |
write(byte[] data,
int offset,
int length) |
void |
write(int b) |
writepublic ReusableStreamGzipCodec.ReusableGzipOutputStream(OutputStream out) throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class org.apache.hadoop.io.compress.CompressorStreamIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class org.apache.hadoop.io.compress.CompressionOutputStreamIOExceptionpublic void write(int b)
throws IOException
write in class org.apache.hadoop.io.compress.CompressorStreamIOExceptionpublic void write(byte[] data,
int offset,
int length)
throws IOException
write in class org.apache.hadoop.io.compress.CompressorStreamIOExceptionpublic void finish()
throws IOException
finish in class org.apache.hadoop.io.compress.CompressorStreamIOExceptionpublic void resetState()
throws IOException
resetState in class org.apache.hadoop.io.compress.CompressorStreamIOExceptionCopyright © 2014 The Apache Software Foundation. All rights reserved.