Class IdentityCodec.IdentityCompressionOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- org.apache.hadoop.io.compress.CompressionOutputStream
-
- org.apache.accumulo.core.file.rfile.bcfile.IdentityCodec.IdentityCompressionOutputStream
-
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
,org.apache.hadoop.fs.statistics.IOStatisticsSource
- Enclosing class:
- IdentityCodec
public static class IdentityCodec.IdentityCompressionOutputStream extends org.apache.hadoop.io.compress.CompressionOutputStream
-
-
Constructor Summary
Constructors Constructor Description IdentityCompressionOutputStream(OutputStream out)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
finish()
void
resetState()
void
write(byte[] b, int off, int len)
void
write(int b)
-
Methods inherited from class org.apache.hadoop.io.compress.CompressionOutputStream
close, flush, getIOStatistics
-
Methods inherited from class java.io.OutputStream
nullOutputStream, write
-
-
-
-
Constructor Detail
-
IdentityCompressionOutputStream
public IdentityCompressionOutputStream(OutputStream out)
-
-
Method Detail
-
finish
public void finish() throws IOException
- Specified by:
finish
in classorg.apache.hadoop.io.compress.CompressionOutputStream
- Throws:
IOException
-
resetState
public void resetState() throws IOException
- Specified by:
resetState
in classorg.apache.hadoop.io.compress.CompressionOutputStream
- Throws:
IOException
-
write
public void write(byte[] b, int off, int len) throws IOException
- Specified by:
write
in classorg.apache.hadoop.io.compress.CompressionOutputStream
- Throws:
IOException
-
write
public void write(int b) throws IOException
- Specified by:
write
in classOutputStream
- Throws:
IOException
-
-