org.apache.hadoop.streaming
Class TupleInputFormat
java.lang.Object
org.apache.hadoop.mapred.InputFormatBase
org.apache.hadoop.streaming.TupleInputFormat
- All Implemented Interfaces:
- InputFormat
public class TupleInputFormat
- extends InputFormatBase
- Author:
- Michel Tourn
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TupleInputFormat
public TupleInputFormat()
setPrimary
public void setPrimary(InputFormat fmt)
addSecondary
public void addSecondary(InputFormat fmt)
getRecordReader
public RecordReader getRecordReader(InputSplit split,
JobConf job,
Reporter reporter)
throws IOException
- Description copied from interface:
InputFormat
- Construct a
RecordReader
for a FileSplit
.
- Specified by:
getRecordReader
in interface InputFormat
- Specified by:
getRecordReader
in class InputFormatBase
- Parameters:
split
- the InputSplit
job
- the job that this split belongs to
- Returns:
- a
RecordReader
- Throws:
IOException
Copyright © 2006 The Apache Software Foundation