org.apache.hadoop.io.compress.bzip2.BZip2DummyDecompressor Java Examples
The following examples show how to use
org.apache.hadoop.io.compress.bzip2.BZip2DummyDecompressor.
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: Bzip2Factory.java From hadoop with Apache License 2.0 | 2 votes |
/** * Return the appropriate type of the bzip2 decompressor. * * @param conf configuration * @return the appropriate type of the bzip2 decompressor. */ public static Class<? extends Decompressor> getBzip2DecompressorType(Configuration conf) { return isNativeBzip2Loaded(conf) ? Bzip2Decompressor.class : BZip2DummyDecompressor.class; }
Example #2
Source File: Bzip2Factory.java From hadoop with Apache License 2.0 | 2 votes |
/** * Return the appropriate implementation of the bzip2 decompressor. * * @param conf configuration * @return the appropriate implementation of the bzip2 decompressor. */ public static Decompressor getBzip2Decompressor(Configuration conf) { return isNativeBzip2Loaded(conf) ? new Bzip2Decompressor() : new BZip2DummyDecompressor(); }
Example #3
Source File: Bzip2Factory.java From big-c with Apache License 2.0 | 2 votes |
/** * Return the appropriate type of the bzip2 decompressor. * * @param conf configuration * @return the appropriate type of the bzip2 decompressor. */ public static Class<? extends Decompressor> getBzip2DecompressorType(Configuration conf) { return isNativeBzip2Loaded(conf) ? Bzip2Decompressor.class : BZip2DummyDecompressor.class; }
Example #4
Source File: Bzip2Factory.java From big-c with Apache License 2.0 | 2 votes |
/** * Return the appropriate implementation of the bzip2 decompressor. * * @param conf configuration * @return the appropriate implementation of the bzip2 decompressor. */ public static Decompressor getBzip2Decompressor(Configuration conf) { return isNativeBzip2Loaded(conf) ? new Bzip2Decompressor() : new BZip2DummyDecompressor(); }
Example #5
Source File: BZip2Codec.java From RDFS with Apache License 2.0 | 2 votes |
/** * This functionality is currently not supported. * * @throws java.lang.UnsupportedOperationException * Throws UnsupportedOperationException */ public Class<? extends org.apache.hadoop.io.compress.Decompressor> getDecompressorType() { return BZip2DummyDecompressor.class; }
Example #6
Source File: BZip2Codec.java From RDFS with Apache License 2.0 | 2 votes |
/** * This functionality is currently not supported. * * @throws java.lang.UnsupportedOperationException * Throws UnsupportedOperationException */ public Decompressor createDecompressor() { return new BZip2DummyDecompressor(); }
Example #7
Source File: BZip2Codec.java From hadoop-gpu with Apache License 2.0 | 2 votes |
/** * This functionality is currently not supported. * * @throws java.lang.UnsupportedOperationException * Throws UnsupportedOperationException */ public Class<? extends org.apache.hadoop.io.compress.Decompressor> getDecompressorType() { return BZip2DummyDecompressor.class; }
Example #8
Source File: BZip2Codec.java From hadoop-gpu with Apache License 2.0 | 2 votes |
/** * This functionality is currently not supported. * * @throws java.lang.UnsupportedOperationException * Throws UnsupportedOperationException */ public Decompressor createDecompressor() { return new BZip2DummyDecompressor(); }