Class SnappyCompressionInputStream
- java.lang.Object
-
- java.io.InputStream
-
- org.pentaho.di.core.compress.CompressionInputStream
-
- org.pentaho.di.core.compress.snappy.SnappyCompressionInputStream
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class SnappyCompressionInputStream extends CompressionInputStream
-
-
Field Summary
-
Fields inherited from class org.pentaho.di.core.compress.CompressionInputStream
delegate
-
-
Constructor Summary
Constructors Constructor Description SnappyCompressionInputStream(InputStream in, CompressionProvider provider)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
protected static org.xerial.snappy.SnappyInputStream
getDelegate(InputStream in)
Object
nextEntry()
int
read()
-
Methods inherited from class org.pentaho.di.core.compress.CompressionInputStream
getCompressionProvider, read, read
-
Methods inherited from class java.io.InputStream
available, mark, markSupported, nullInputStream, readAllBytes, readNBytes, readNBytes, reset, skip, transferTo
-
-
-
-
Constructor Detail
-
SnappyCompressionInputStream
public SnappyCompressionInputStream(InputStream in, CompressionProvider provider) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getDelegate
protected static org.xerial.snappy.SnappyInputStream getDelegate(InputStream in) throws IOException
- Throws:
IOException
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classCompressionInputStream
- Throws:
IOException
-
read
public int read() throws IOException
- Overrides:
read
in classCompressionInputStream
- Throws:
IOException
-
nextEntry
public Object nextEntry() throws IOException
- Overrides:
nextEntry
in classCompressionInputStream
- Throws:
IOException
-
-