@InterfaceAudience.Public @InterfaceStability.Stable public class SequenceFileInputFormat<K,V> extends FileInputFormat<K,V>
InputFormat for SequenceFiles.INPUT_DIR_NONRECURSIVE_IGNORE_SUBDIRS, INPUT_DIR_RECURSIVE, LOG, NUM_INPUT_FILES| 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 FileStatus[] |
listStatus(JobConf job)
List input directories.
|
addInputPath, addInputPathRecursively, addInputPaths, computeSplitSize, getBlockIndex, getInputPathFilter, getInputPaths, getSplitHosts, getSplits, isSplitable, makeSplit, makeSplit, setInputPathFilter, setInputPaths, setInputPaths, setMinSplitSizeprotected FileStatus[] listStatus(JobConf job) throws IOException
FileInputFormatlistStatus in class FileInputFormat<K,V>job - the job to list input paths for and attach tokens to.IOException - if zero items.public RecordReader<K,V> getRecordReader(InputSplit split, JobConf job, Reporter reporter) throws 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 toRecordReaderIOExceptionCopyright © 2025 Apache Software Foundation. All rights reserved.