Package org.apache.flink.runtime.io.compression
-
Interface Summary Interface Description BlockCompressionFactory Each compression codec has a implementation ofBlockCompressionFactory
to create compressors and decompressors.BlockCompressor A compressor which compresses a whole byte array each time.BlockDecompressor A decompressor which decompresses a block each time. -
Class Summary Class Description AirBlockCompressor Flink compressor that wrapsCompressor
.AirBlockDecompressor Flink decompressor that wrapsDecompressor
.AirCompressorFactory CompressorUtils Utils forBlockCompressor
.Lz4BlockCompressionFactory Implementation ofBlockCompressionFactory
for Lz4 codec.Lz4BlockCompressor Encode data into LZ4 format (not compatible with the LZ4 Frame format).Lz4BlockDecompressor Decode data written withLz4BlockCompressor
. -
Exception Summary Exception Description BufferCompressionException ABufferCompressionException
is thrown when the target data cannot be compressed, such as insufficient target buffer space for compression, etc.BufferDecompressionException ABufferDecompressionException
is thrown when the target data cannot be decompressed, such as data corruption, insufficient target buffer space for decompression, etc.