com.cloudera.crunch.io
Class To

java.lang.Object
  extended by com.cloudera.crunch.io.To

public class To
extends Object

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 hbaseTable(String table)
           
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

To

public To()
Method Detail

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.