org.apache.hadoop.io.compress.DirectDecompressor Java Examples
The following examples show how to use
org.apache.hadoop.io.compress.DirectDecompressor.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ZlibFactory.java From hadoop with Apache License 2.0 | 2 votes |
/** * Return the appropriate implementation of the zlib direct decompressor. * * @param conf configuration * @return the appropriate implementation of the zlib decompressor. */ public static DirectDecompressor getZlibDirectDecompressor(Configuration conf) { return (isNativeZlibLoaded(conf)) ? new ZlibDecompressor.ZlibDirectDecompressor() : null; }
Example #2
Source File: ZlibFactory.java From big-c with Apache License 2.0 | 2 votes |
/** * Return the appropriate implementation of the zlib direct decompressor. * * @param conf configuration * @return the appropriate implementation of the zlib decompressor. */ public static DirectDecompressor getZlibDirectDecompressor(Configuration conf) { return (isNativeZlibLoaded(conf)) ? new ZlibDecompressor.ZlibDirectDecompressor() : null; }