com.cloudera.crunch.io.text
Class TextFileTarget

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

public class TextFileTarget
extends FileTargetImpl


Field Summary
 
Fields inherited from class com.cloudera.crunch.io.impl.FileTargetImpl
path
 
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 com.cloudera.crunch.io.impl.FileTargetImpl
accept, configureForMapReduce, configureForMapReduce, equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, 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. All Rights Reserved.