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
org.apache.crunch.io.text.TextFileReaderFactory<T>
- All Implemented Interfaces:
- FileReaderFactory<T>
public class TextFileReaderFactory<T>
- extends Object
- implements FileReaderFactory<T>
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 |
TextFileReaderFactory
public TextFileReaderFactory(PType<T> ptype)
TextFileReaderFactory
public TextFileReaderFactory(org.apache.crunch.io.text.LineParser<T> parser)
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.