|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.crunch.io.To
public class To
Static factory methods for creating various Target types.
| Constructor Summary | |
|---|---|
To()
|
|
| Method Summary | |
|---|---|
static Target |
avroFile(org.apache.hadoop.fs.Path path)
|
static Target |
avroFile(String pathName)
|
static Target |
formattedFile(org.apache.hadoop.fs.Path path,
Class<? extends org.apache.hadoop.mapreduce.lib.output.FileOutputFormat> formatClass)
|
static Target |
formattedFile(String pathName,
Class<? extends org.apache.hadoop.mapreduce.lib.output.FileOutputFormat> formatClass)
|
static Target |
sequenceFile(org.apache.hadoop.fs.Path path)
|
static Target |
sequenceFile(String pathName)
|
static Target |
textFile(org.apache.hadoop.fs.Path path)
|
static Target |
textFile(String pathName)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public To()
| Method Detail |
|---|
public static Target formattedFile(String pathName,
Class<? extends org.apache.hadoop.mapreduce.lib.output.FileOutputFormat> formatClass)
public static Target formattedFile(org.apache.hadoop.fs.Path path,
Class<? extends org.apache.hadoop.mapreduce.lib.output.FileOutputFormat> formatClass)
public static Target avroFile(String pathName)
public static Target avroFile(org.apache.hadoop.fs.Path path)
public static Target sequenceFile(String pathName)
public static Target sequenceFile(org.apache.hadoop.fs.Path path)
public static Target textFile(String pathName)
public static Target textFile(org.apache.hadoop.fs.Path path)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||