public interface BlockCompressionFactory
BlockCompressionFactory
to create
compressors and decompressors.Modifier and Type | Interface and Description |
---|---|
static class |
BlockCompressionFactory.CompressionFactoryName
Name of
BlockCompressionFactory . |
Modifier and Type | Method and Description |
---|---|
static BlockCompressionFactory |
createBlockCompressionFactory(String compressionFactoryName)
Creates
BlockCompressionFactory according to the configuration. |
BlockCompressor |
getCompressor() |
BlockDecompressor |
getDecompressor() |
BlockCompressor getCompressor()
BlockDecompressor getDecompressor()
static BlockCompressionFactory createBlockCompressionFactory(String compressionFactoryName)
BlockCompressionFactory
according to the configuration.compressionFactoryName
- supported compression codecs or user-defined class name
inherited from BlockCompressionFactory
.Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.