| Package | Description |
|---|---|
| org.apache.hadoop.io.compress.zlib |
Implementation of compression/decompression based on the popular
gzip compressed file format.
|
| Modifier and Type | Method | Description |
|---|---|---|
static ZlibCompressor.CompressionLevel |
ZlibFactory.getCompressionLevel(Configuration conf) |
|
static ZlibCompressor.CompressionLevel |
ZlibCompressor.CompressionLevel.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ZlibCompressor.CompressionLevel[] |
ZlibCompressor.CompressionLevel.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
ZlibCompressor.construct(ZlibCompressor.CompressionLevel level,
ZlibCompressor.CompressionStrategy strategy,
ZlibCompressor.CompressionHeader header,
int directBufferSize) |
|
static void |
ZlibFactory.setCompressionLevel(Configuration conf,
ZlibCompressor.CompressionLevel level) |
| Constructor | Description |
|---|---|
ZlibCompressor(ZlibCompressor.CompressionLevel level,
ZlibCompressor.CompressionStrategy strategy,
ZlibCompressor.CompressionHeader header,
int directBufferSize) |
Creates a new compressor using the specified compression level.
|
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.