public static class BruteForcePwsim.MyMapperWeightedIntDocVectors extends MapReduceBase implements Mapper<IntWritable,WeightedIntDocVector,IntWritable,PairOfFloatInt>
Constructor and Description |
---|
BruteForcePwsim.MyMapperWeightedIntDocVectors() |
Modifier and Type | Method and Description |
---|---|
void |
configure(JobConf job) |
void |
map(IntWritable docno,
WeightedIntDocVector docvector,
OutputCollector<IntWritable,PairOfFloatInt> output,
Reporter reporter) |
close
public BruteForcePwsim.MyMapperWeightedIntDocVectors()
public void configure(JobConf job)
configure
in interface JobConfigurable
configure
in class MapReduceBase
public void map(IntWritable docno, WeightedIntDocVector docvector, OutputCollector<IntWritable,PairOfFloatInt> output, Reporter reporter) throws IOException
map
in interface Mapper<IntWritable,WeightedIntDocVector,IntWritable,PairOfFloatInt>
IOException