Class SnappyCompressionOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- org.pentaho.di.core.compress.CompressionOutputStream
-
- org.pentaho.di.core.compress.snappy.SnappyCompressionOutputStream
-
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
public class SnappyCompressionOutputStream extends CompressionOutputStream
-
-
Field Summary
-
Fields inherited from class org.pentaho.di.core.compress.CompressionOutputStream
delegate
-
-
Constructor Summary
Constructors Constructor Description SnappyCompressionOutputStream(OutputStream out, CompressionProvider provider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
write(int b)
-
Methods inherited from class org.pentaho.di.core.compress.CompressionOutputStream
addEntry, getCompressionProvider, write, write
-
Methods inherited from class java.io.OutputStream
flush, nullOutputStream
-
-
-
-
Constructor Detail
-
SnappyCompressionOutputStream
public SnappyCompressionOutputStream(OutputStream out, CompressionProvider provider) throws IOException
- Throws:
IOException
-
-
Method Detail
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classCompressionOutputStream
- Throws:
IOException
-
write
public void write(int b) throws IOException
- Overrides:
write
in classCompressionOutputStream
- Throws:
IOException
-
-