程序包 | 说明 |
---|---|
org.apache.hadoop.io.compress.zlib |
限定符和类型 | 方法和说明 |
---|---|
static ZlibCompressor.CompressionStrategy |
ZlibFactory.getCompressionStrategy(Configuration conf) |
static ZlibCompressor.CompressionStrategy |
ZlibCompressor.CompressionStrategy.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ZlibCompressor.CompressionStrategy[] |
ZlibCompressor.CompressionStrategy.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
限定符和类型 | 方法和说明 |
---|---|
protected void |
ZlibCompressor.construct(ZlibCompressor.CompressionLevel level,
ZlibCompressor.CompressionStrategy strategy,
ZlibCompressor.CompressionHeader header,
int directBufferSize) |
static void |
ZlibFactory.setCompressionStrategy(Configuration conf,
ZlibCompressor.CompressionStrategy strategy) |
构造器和说明 |
---|
ZlibCompressor(ZlibCompressor.CompressionLevel level,
ZlibCompressor.CompressionStrategy strategy,
ZlibCompressor.CompressionHeader header,
int directBufferSize)
Creates a new compressor using the specified compression level.
|
Copyright © 2009 The Apache Software Foundation