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) |
closepublic BruteForcePwsim.MyMapperWeightedIntDocVectors()
public void configure(JobConf job)
configure in interface JobConfigurableconfigure in class MapReduceBasepublic void map(IntWritable docno, WeightedIntDocVector docvector, OutputCollector<IntWritable,PairOfFloatInt> output, Reporter reporter) throws IOException
map in interface Mapper<IntWritable,WeightedIntDocVector,IntWritable,PairOfFloatInt>IOException