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) |
write
public ReusableStreamGzipCodec.ReusableGzipOutputStream(OutputStream out) throws IOException
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class org.apache.hadoop.io.compress.CompressorStream
IOException
public void flush() throws IOException
flush
in interface Flushable
flush
in class org.apache.hadoop.io.compress.CompressionOutputStream
IOException
public void write(int b) throws IOException
write
in class org.apache.hadoop.io.compress.CompressorStream
IOException
public void write(byte[] data, int offset, int length) throws IOException
write
in class org.apache.hadoop.io.compress.CompressorStream
IOException
public void finish() throws IOException
finish
in class org.apache.hadoop.io.compress.CompressorStream
IOException
public void resetState() throws IOException
resetState
in class org.apache.hadoop.io.compress.CompressorStream
IOException
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.