Package org.apache.flink.runtime.state
Class UncompressedStreamCompressionDecorator
- java.lang.Object
-
- org.apache.flink.runtime.state.StreamCompressionDecorator
-
- org.apache.flink.runtime.state.UncompressedStreamCompressionDecorator
-
- All Implemented Interfaces:
Serializable
@Internal public class UncompressedStreamCompressionDecorator extends StreamCompressionDecorator
This implementation does not decorate the stream with any compression.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StreamCompressionDecorator
INSTANCE
-
Constructor Summary
Constructors Constructor Description UncompressedStreamCompressionDecorator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected InputStream
decorateWithCompression(NonClosingInputStreamDecorator stream)
protected OutputStream
decorateWithCompression(NonClosingOutputStreamDecorator stream)
-
Methods inherited from class org.apache.flink.runtime.state.StreamCompressionDecorator
decorateWithCompression, decorateWithCompression
-
-
-
-
Field Detail
-
INSTANCE
public static final StreamCompressionDecorator INSTANCE
-
-
Method Detail
-
decorateWithCompression
protected OutputStream decorateWithCompression(NonClosingOutputStreamDecorator stream) throws IOException
- Specified by:
decorateWithCompression
in classStreamCompressionDecorator
- Parameters:
stream
- the stream to decorate- Returns:
- an output stream that is decorated by the compression scheme.
- Throws:
IOException
-
decorateWithCompression
protected InputStream decorateWithCompression(NonClosingInputStreamDecorator stream) throws IOException
- Specified by:
decorateWithCompression
in classStreamCompressionDecorator
- Parameters:
stream
- the stream to decorate.- Returns:
- an input stream that is decorated by the compression scheme.
- Throws:
IOException
-
-