程序包 | 说明 |
---|---|
org.apache.hadoop.io.compress.zlib |
限定符和类型 | 方法和说明 |
---|---|
static ZlibCompressor.CompressionLevel |
ZlibFactory.getCompressionLevel(Configuration conf) |
static ZlibCompressor.CompressionLevel |
ZlibCompressor.CompressionLevel.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ZlibCompressor.CompressionLevel[] |
ZlibCompressor.CompressionLevel.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
限定符和类型 | 方法和说明 |
---|---|
protected void |
ZlibCompressor.construct(ZlibCompressor.CompressionLevel level,
ZlibCompressor.CompressionStrategy strategy,
ZlibCompressor.CompressionHeader header,
int directBufferSize) |
static void |
ZlibFactory.setCompressionLevel(Configuration conf,
ZlibCompressor.CompressionLevel level) |
构造器和说明 |
---|
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