public class SequenceFileAsTextInputFormat extends SequenceFileInputFormat<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>
LOG
Constructor and Description |
---|
SequenceFileAsTextInputFormat() |
Modifier and Type | Method and Description |
---|---|
RecordReader<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text> |
getRecordReader(InputSplit split,
JobConf job,
Reporter reporter)
Get the
RecordReader for the given InputSplit . |
listStatus
addInputPath, addInputPaths, computeSplitSize, getBlockIndex, getInputPathFilter, getInputPaths, getSplitHosts, getSplits, isSplitable, setInputPathFilter, setInputPaths, setInputPaths, setMinSplitSize
public RecordReader<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text> getRecordReader(InputSplit split, JobConf job, Reporter reporter) throws java.io.IOException
InputFormat
RecordReader
for the given InputSplit
.
It is the responsibility of the RecordReader
to respect
record boundaries while processing the logical split to present a
record-oriented view to the individual task.
getRecordReader
in interface InputFormat<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>
getRecordReader
in class SequenceFileInputFormat<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>
split
- the InputSplit
job
- the job that this split belongs toRecordReader
java.io.IOException
Copyright © 2009 The Apache Software Foundation