com.bigdata.service.mapred
Class AbstractFileInputMapTask
java.lang.Object
com.bigdata.service.mapred.AbstractMapTask
com.bigdata.service.mapred.AbstractFileInputMapTask
- All Implemented Interfaces:
- IMapTask, ITask, Serializable
- Direct Known Subclasses:
- ExtractKeywords, NOPMapTask, ReadOnlyMapTask
public abstract class AbstractFileInputMapTask
- extends AbstractMapTask
Abstract base class for IMapTasks accepting a filename as the
"key" and the file contents as the "value".
- Version:
- $Id: AbstractFileInputMapTask.java 2265 2009-10-26 12:51:06Z thompsonbry $
- Author:
- Bryan Thompson
- See Also:
- Serialized Form
| Fields inherited from interface com.bigdata.service.mapred.IMapTask |
log |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractFileInputMapTask
protected AbstractFileInputMapTask(UUID uuid,
Object source,
int nreduce,
IHashFunction hashFunction)
input
public final void input(File file)
throws Exception
- Used to read from the
AbstractMapTask.getSource() when it is a File.
- Parameters:
file - The data source.
- Throws:
Exception
input
protected abstract void input(File input,
InputStream is)
throws Exception
- Throws:
Exception
Copyright © 2006-2009 SYSTAP, LLC. All Rights Reserved.