@InterfaceAudience.Public @InterfaceStability.Stable public class SequenceFileInputFilter<K,V> extends SequenceFileInputFormat<K,V>
INPUT_DIR_NONRECURSIVE_IGNORE_SUBDIRS, INPUT_DIR_RECURSIVE, LOG, NUM_INPUT_FILES
Constructor and Description |
---|
SequenceFileInputFilter() |
Modifier and Type | Method and Description |
---|---|
RecordReader<K,V> |
getRecordReader(InputSplit split,
JobConf job,
Reporter reporter)
Create a record reader for the given split
|
static void |
setFilterClass(Configuration conf,
Class filterClass)
set the filter class
|
listStatus
addInputPath, addInputPathRecursively, addInputPaths, computeSplitSize, getBlockIndex, getInputPathFilter, getInputPaths, getSplitHosts, getSplits, isSplitable, makeSplit, makeSplit, setInputPathFilter, setInputPaths, setInputPaths, setMinSplitSize
public RecordReader<K,V> getRecordReader(InputSplit split, JobConf job, Reporter reporter) throws IOException
getRecordReader
in interface InputFormat<K,V>
getRecordReader
in class SequenceFileInputFormat<K,V>
split
- file splitjob
- job configurationreporter
- reporter who sends report to task trackerIOException
public static void setFilterClass(Configuration conf, Class filterClass)
conf
- application configurationfilterClass
- filter classCopyright © 2023 Apache Software Foundation. All rights reserved.