|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.mapred.FileInputFormat<K,V>
org.apache.hadoop.mapred.SequenceFileInputFormat<K,V>
org.apache.hadoop.mapred.SequenceFileInputFilter<K,V>
SequenceFileInputFilter
instead
@Deprecated @InterfaceAudience.Public @InterfaceStability.Stable public class SequenceFileInputFilter<K,V>
A class that allows a map/red job to work on a sample of sequence files. The sample is decided by the filter class set by the job.
Nested Class Summary | |
---|---|
static interface |
SequenceFileInputFilter.Filter
Deprecated. filter interface |
static class |
SequenceFileInputFilter.FilterBase
Deprecated. base class for Filters |
static class |
SequenceFileInputFilter.MD5Filter
Deprecated. This class returns a set of records by examing the MD5 digest of its key against a filtering frequency f. |
static class |
SequenceFileInputFilter.PercentFilter
Deprecated. This class returns a percentage of records The percentage is determined by a filtering frequency f using the criteria record# % f == 0. |
static class |
SequenceFileInputFilter.RegexFilter
Deprecated. Records filter by matching key to regex |
Field Summary |
---|
Fields inherited from class org.apache.hadoop.mapred.FileInputFormat |
---|
LOG, NUM_INPUT_FILES |
Constructor Summary | |
---|---|
SequenceFileInputFilter()
Deprecated. |
Method Summary | |
---|---|
RecordReader<K,V> |
getRecordReader(InputSplit split,
JobConf job,
Reporter reporter)
Deprecated. Create a record reader for the given split |
static void |
setFilterClass(org.apache.hadoop.conf.Configuration conf,
Class filterClass)
Deprecated. set the filter class |
Methods inherited from class org.apache.hadoop.mapred.SequenceFileInputFormat |
---|
listStatus |
Methods inherited from class org.apache.hadoop.mapred.FileInputFormat |
---|
addInputPath, addInputPathRecursively, addInputPaths, computeSplitSize, getBlockIndex, getInputPathFilter, getInputPaths, getSplitHosts, getSplits, isSplitable, makeSplit, setInputPathFilter, setInputPaths, setInputPaths, setMinSplitSize |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SequenceFileInputFilter()
Method Detail |
---|
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 tracker
IOException
public static void setFilterClass(org.apache.hadoop.conf.Configuration conf, Class filterClass)
conf
- application configurationfilterClass
- filter class
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |