public interface BlockCompressionFactory
BlockCompressionFactory
to create
compressors and decompressors.Modifier and Type | Method and Description |
---|---|
static BlockCompressionFactory |
create(BlockCompressionType compression)
Creates
BlockCompressionFactory according to the BlockCompressionType . |
static BlockCompressionFactory |
create(CompressOptions compression)
Creates
BlockCompressionFactory according to the configuration. |
BlockCompressionType |
getCompressionType() |
BlockCompressor |
getCompressor() |
BlockDecompressor |
getDecompressor() |
BlockCompressionType getCompressionType()
BlockCompressor getCompressor()
BlockDecompressor getDecompressor()
@Nullable static BlockCompressionFactory create(CompressOptions compression)
BlockCompressionFactory
according to the configuration.@Nullable static BlockCompressionFactory create(BlockCompressionType compression)
BlockCompressionFactory
according to the BlockCompressionType
.Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.