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.FSDataInputStreamFSDataInputStreamthat delegates all reading operations to a wrappingStreamCompressionDecorator.
-
-
Constructor Summary
Constructors Constructor Description CompressibleFSDataInputStream(org.apache.flink.core.fs.FSDataInputStream delegate, StreamCompressionDecorator compressionDecorator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()longgetPos()intread()voidseek(long desired)-
Methods inherited from class java.io.InputStream
available, mark, markSupported, nullInputStream, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, transferTo
-
-
-
-
Constructor Detail
-
CompressibleFSDataInputStream
public CompressibleFSDataInputStream(org.apache.flink.core.fs.FSDataInputStream delegate, StreamCompressionDecorator compressionDecorator) throws IOException- Throws:
IOException
-
-
Method Detail
-
seek
public void seek(long desired) throws IOException- Specified by:
seekin classorg.apache.flink.core.fs.FSDataInputStream- Throws:
IOException
-
getPos
public long getPos() throws IOException- Specified by:
getPosin classorg.apache.flink.core.fs.FSDataInputStream- Throws:
IOException
-
read
public int read() throws IOException- Specified by:
readin classInputStream- Throws:
IOException
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-
-