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