| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.io.compress.zlib.ZlibFactory
public class ZlibFactory
A collection of factories to create the right zlib/gzip compressor/decompressor instances.
| Constructor Summary | |
|---|---|
ZlibFactory()
 | 
|
| Method Summary | |
|---|---|
static Compressor | 
getZlibCompressor(Configuration conf)
Return the appropriate implementation of the zlib compressor.  | 
static Class<? extends Compressor> | 
getZlibCompressorType(Configuration conf)
Return the appropriate type of the zlib compressor.  | 
static Decompressor | 
getZlibDecompressor(Configuration conf)
Return the appropriate implementation of the zlib decompressor.  | 
static Class<? extends Decompressor> | 
getZlibDecompressorType(Configuration conf)
Return the appropriate type of the zlib decompressor.  | 
static boolean | 
isNativeZlibLoaded(Configuration conf)
Check if native-zlib code is loaded & initialized correctly and can be loaded for this job.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ZlibFactory()
| Method Detail | 
|---|
public static boolean isNativeZlibLoaded(Configuration conf)
conf - configuration
true if native-zlib is loaded & initialized 
         and can be loaded for this job, else falsepublic static Class<? extends Compressor> getZlibCompressorType(Configuration conf)
conf - configuration
public static Compressor getZlibCompressor(Configuration conf)
conf - configuration
public static Class<? extends Decompressor> getZlibDecompressorType(Configuration conf)
conf - configuration
public static Decompressor getZlibDecompressor(Configuration conf)
conf - configuration
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||