public class Lz4BlockCompressionFactory extends Object implements BlockCompressionFactory
BlockCompressionFactory for Lz4 codec.BlockCompressionFactory.CompressionFactoryName| 限定符和类型 | 字段和说明 |
|---|---|
static int |
HEADER_LENGTH
We put two integers before each compressed block, the first integer represents the compressed
length of the block, and the second one represents the original length of the block.
|
| 构造器和说明 |
|---|
Lz4BlockCompressionFactory() |
| 限定符和类型 | 方法和说明 |
|---|---|
BlockCompressor |
getCompressor() |
BlockDecompressor |
getDecompressor() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateBlockCompressionFactorypublic static final int HEADER_LENGTH
public BlockCompressor getCompressor()
getCompressor 在接口中 BlockCompressionFactorypublic BlockDecompressor getDecompressor()
getDecompressor 在接口中 BlockCompressionFactoryCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.