This project has retired. For details please refer to its Attic page.
To (Apache Crunch 0.4.0-incubating API)

org.apache.crunch.io
Class To

java.lang.Object
  extended by org.apache.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 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

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)

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 The Apache Software Foundation. All Rights Reserved.