This project has retired. For details please refer to its Attic page.
TextFileReaderFactory (Apache Crunch 0.9.0 API)

org.apache.crunch.io.text
Class TextFileReaderFactory<T>

java.lang.Object
  extended by org.apache.crunch.io.text.TextFileReaderFactory<T>
All Implemented Interfaces:
FileReaderFactory<T>

public class TextFileReaderFactory<T>
extends Object
implements FileReaderFactory<T>


Constructor Summary
TextFileReaderFactory(org.apache.crunch.io.text.LineParser<T> parser)
           
TextFileReaderFactory(PType<T> ptype)
           
 
Method Summary
 Iterator<T> read(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextFileReaderFactory

public TextFileReaderFactory(PType<T> ptype)

TextFileReaderFactory

public TextFileReaderFactory(org.apache.crunch.io.text.LineParser<T> parser)
Method Detail

read

public Iterator<T> read(org.apache.hadoop.fs.FileSystem fs,
                        org.apache.hadoop.fs.Path path)
Specified by:
read in interface FileReaderFactory<T>


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