Package io.airlift.compress.hadoop
Class HadoopOutputStream
java.lang.Object
java.io.OutputStream
io.airlift.compress.hadoop.HadoopOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.OutputStream
nullOutputStream, write, write
-
Constructor Details
-
HadoopOutputStream
public HadoopOutputStream()
-
-
Method Details
-
finish
Close the current internal compression stream, but do not close the underlying stream. The next write after this call will start a new internal compression stream.- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-