|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.crunch.io.Compress
public class Compress
Helper functions for compressing output data.
| Constructor Summary | |
|---|---|
Compress()
|
|
| Method Summary | ||
|---|---|---|
static
|
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
|
gzip(T target)
Configure the given output target to be compressed using Gzip. |
|
static
|
snappy(T target)
Configure the given output target to be compressed using Snappy. |
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Compress()
| Method Detail |
|---|
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)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||