Package org.apache.flink.runtime.io.compression
package org.apache.flink.runtime.io.compression
-
ClassDescriptionFlink compressor that wraps
Compressor.Flink decompressor that wrapsDecompressor.Each compression codec has a implementation ofBlockCompressionFactoryto create compressors and decompressors.A compressor which compresses a whole byte array each time.A decompressor which decompresses a block each time.ABufferCompressionExceptionis thrown when the target data cannot be compressed, such as insufficient target buffer space for compression, etc.ABufferDecompressionExceptionis thrown when the target data cannot be decompressed, such as data corruption, insufficient target buffer space for decompression, etc.Utils forBlockCompressor.Implementation ofBlockCompressionFactoryfor Lz4 codec.Encode data into LZ4 format (not compatible with the LZ4 Frame format).Decode data written withLz4BlockCompressor.