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

org.apache.crunch.io.text
Class TextFileTarget

java.lang.Object
  extended by org.apache.crunch.io.impl.FileTargetImpl
      extended by org.apache.crunch.io.text.TextFileTarget
All Implemented Interfaces:
MapReduceTarget, PathTarget, Target

public class TextFileTarget
extends FileTargetImpl


Constructor Summary
TextFileTarget(org.apache.hadoop.fs.Path path)
           
TextFileTarget(String path)
           
 
Method Summary
<T> SourceTarget<T>
asSourceTarget(PType<T> ptype)
           
 org.apache.hadoop.fs.Path getPath()
           
 String toString()
           
 
Methods inherited from class org.apache.crunch.io.impl.FileTargetImpl
accept, configureForMapReduce, equals, hashCode
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TextFileTarget

public TextFileTarget(String path)

TextFileTarget

public TextFileTarget(org.apache.hadoop.fs.Path path)
Method Detail

getPath

public org.apache.hadoop.fs.Path getPath()
Specified by:
getPath in interface PathTarget
Overrides:
getPath in class FileTargetImpl

toString

public String toString()
Overrides:
toString in class FileTargetImpl

asSourceTarget

public <T> SourceTarget<T> asSourceTarget(PType<T> ptype)
Specified by:
asSourceTarget in interface Target
Overrides:
asSourceTarget in class FileTargetImpl


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.