com.cloudera.crunch.io.text
Class TextFileSourceTarget<T>

java.lang.Object
  extended by com.cloudera.crunch.io.impl.SourceTargetImpl<T>
      extended by com.cloudera.crunch.io.impl.SourcePathTargetImpl<T>
          extended by com.cloudera.crunch.io.impl.ReadableSourcePathTargetImpl<T>
              extended by com.cloudera.crunch.io.text.TextFileSourceTarget<T>
All Implemented Interfaces:
MapReduceTarget, PathTarget, ReadableSource<T>, ReadableSourceTarget<T>, Source<T>, SourceTarget<T>, Target

public class TextFileSourceTarget<T>
extends ReadableSourcePathTargetImpl<T>


Field Summary
 
Fields inherited from class com.cloudera.crunch.io.impl.SourceTargetImpl
source, target
 
Constructor Summary
TextFileSourceTarget(org.apache.hadoop.fs.Path path, PType<T> ptype)
           
TextFileSourceTarget(String path, PType<T> ptype)
           
 
Method Summary
 String toString()
           
 
Methods inherited from class com.cloudera.crunch.io.impl.ReadableSourcePathTargetImpl
read
 
Methods inherited from class com.cloudera.crunch.io.impl.SourcePathTargetImpl
configureForMapReduce, getPath
 
Methods inherited from class com.cloudera.crunch.io.impl.SourceTargetImpl
accept, asSourceTarget, configureSource, equals, getSize, getType, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.cloudera.crunch.Source
configureSource, getSize, getType
 
Methods inherited from interface com.cloudera.crunch.Target
accept, asSourceTarget
 

Constructor Detail

TextFileSourceTarget

public TextFileSourceTarget(String path,
                            PType<T> ptype)

TextFileSourceTarget

public TextFileSourceTarget(org.apache.hadoop.fs.Path path,
                            PType<T> ptype)
Method Detail

toString

public String toString()
Overrides:
toString in class SourceTargetImpl<T>


Copyright © 2012. All Rights Reserved.