public class SequenceFileInputFormat<K,V> extends FileInputFormat<K,V>
InputFormat for SequenceFiles.LOG| Constructor and Description |
|---|
SequenceFileInputFormat() |
| Modifier and Type | Method and Description |
|---|---|
RecordReader<K,V> |
getRecordReader(InputSplit split,
JobConf job,
Reporter reporter)
Get the
RecordReader for the given InputSplit. |
protected org.apache.hadoop.fs.FileStatus[] |
listStatus(JobConf job)
List input directories.
|
addInputPath, addInputPaths, computeSplitSize, getBlockIndex, getInputPathFilter, getInputPaths, getSplitHosts, getSplits, isSplitable, setInputPathFilter, setInputPaths, setInputPaths, setMinSplitSizeprotected org.apache.hadoop.fs.FileStatus[] listStatus(JobConf job) throws java.io.IOException
FileInputFormatlistStatus in class FileInputFormat<K,V>job - the job to list input paths forjava.io.IOException - if zero items.public RecordReader<K,V> getRecordReader(InputSplit split, JobConf job, Reporter reporter) throws java.io.IOException
InputFormatRecordReader 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<K,V>getRecordReader in class FileInputFormat<K,V>split - the InputSplitjob - the job that this split belongs toRecordReaderjava.io.IOExceptionCopyright © 2009 The Apache Software Foundation