com.cloudera.crunch.io
Class To
java.lang.Object
com.cloudera.crunch.io.To
public class To
- extends Object
Static factory methods for creating various Target
types.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
To
public To()
formattedFile
public static Target formattedFile(String pathName,
Class<? extends org.apache.hadoop.mapreduce.lib.output.FileOutputFormat> formatClass)
formattedFile
public static Target formattedFile(org.apache.hadoop.fs.Path path,
Class<? extends org.apache.hadoop.mapreduce.lib.output.FileOutputFormat> formatClass)
avroFile
public static Target avroFile(String pathName)
avroFile
public static Target avroFile(org.apache.hadoop.fs.Path path)
hbaseTable
public static Target hbaseTable(String table)
sequenceFile
public static Target sequenceFile(String pathName)
sequenceFile
public static Target sequenceFile(org.apache.hadoop.fs.Path path)
textFile
public static Target textFile(String pathName)
textFile
public static Target textFile(org.apache.hadoop.fs.Path path)
Copyright © 2012. All Rights Reserved.