Interface BlockCompressionFactory
-
- All Known Implementing Classes:
AirCompressorFactory
,Lz4BlockCompressionFactory
public interface BlockCompressionFactory
Each compression codec has a implementation ofBlockCompressionFactory
to create compressors and decompressors.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static BlockCompressionFactory
createBlockCompressionFactory(NettyShuffleEnvironmentOptions.CompressionCodec compressionName)
CreatesBlockCompressionFactory
according to the configuration.BlockCompressor
getCompressor()
BlockDecompressor
getDecompressor()
-
-
-
Method Detail
-
getCompressor
BlockCompressor getCompressor()
-
getDecompressor
BlockDecompressor getDecompressor()
-
createBlockCompressionFactory
static BlockCompressionFactory createBlockCompressionFactory(NettyShuffleEnvironmentOptions.CompressionCodec compressionName)
CreatesBlockCompressionFactory
according to the configuration.- Parameters:
compressionName
- supported compression codecs.
-
-