Package org.apache.flink.runtime.state
Class CompressibleFSDataInputStream
java.lang.Object
java.io.InputStream
org.apache.flink.core.fs.FSDataInputStream
org.apache.flink.runtime.state.CompressibleFSDataInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
public class CompressibleFSDataInputStream
extends org.apache.flink.core.fs.FSDataInputStream
FSDataInputStream that delegates all reading operations to a wrapping StreamCompressionDecorator.-
Constructor Summary
ConstructorsConstructorDescriptionCompressibleFSDataInputStream(org.apache.flink.core.fs.FSDataInputStream delegate, StreamCompressionDecorator compressionDecorator) -
Method Summary
Methods inherited from class java.io.InputStream
available, mark, markSupported, nullInputStream, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, transferTo
-
Constructor Details
-
CompressibleFSDataInputStream
public CompressibleFSDataInputStream(org.apache.flink.core.fs.FSDataInputStream delegate, StreamCompressionDecorator compressionDecorator) throws IOException - Throws:
IOException
-
-
Method Details
-
seek
- Specified by:
seekin classorg.apache.flink.core.fs.FSDataInputStream- Throws:
IOException
-
getPos
- Specified by:
getPosin classorg.apache.flink.core.fs.FSDataInputStream- Throws:
IOException
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-