public class Compress extends Object
| Constructor and Description | 
|---|
| Compress() | 
| Modifier and Type | Method and Description | 
|---|---|
| static <T extends Target> | compress(T target,
        Class<? extends org.apache.hadoop.io.compress.CompressionCodec> codecClass)Configure the given output target to be compressed using the given codec. | 
| static <T extends Target> | gzip(T target)Configure the given output target to be compressed using Gzip. | 
| static <T extends Target> | snappy(T target)Configure the given output target to be compressed using Snappy. | 
public static <T extends Target> T compress(T target, Class<? extends org.apache.hadoop.io.compress.CompressionCodec> codecClass)
public static <T extends Target> T gzip(T target)
public static <T extends Target> T snappy(T target)
Copyright © 2017 The Apache Software Foundation. All rights reserved.