949596979899100101102103
public Object[][] compressorDataProvider() { return new Object[][] { { new SnappyCompressor() }, { new Bzip2Compressor() }, { new GzipCompressor() }, { new DeflateCompressor()} }; }
96979899100101102
* @param conf configuration * @return the appropriate implementation of the bzip2 compressor. */ public static Compressor getBzip2Compressor(Configuration conf) { return isNativeBzip2Loaded(conf)? new Bzip2Compressor(conf) : new BZip2DummyCompressor(); }
104105106107108109110