protected static class ReusableStreamGzipCodec.ReusableGzipOutputStream
extends org.apache.hadoop.io.compress.CompressorStream
Constructor and Description |
---|
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 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–2019 Cloudera. All rights reserved.