public static class ItemSimilarityJob.MostSimilarItemPairsMapper extends org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.IntWritable,VectorWritable,EntityEntityWritable,org.apache.hadoop.io.DoubleWritable>
| Constructor and Description |
|---|
MostSimilarItemPairsMapper() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
map(org.apache.hadoop.io.IntWritable itemIDIndexWritable,
VectorWritable similarityVector,
org.apache.hadoop.mapreduce.Mapper.Context ctx) |
protected void |
setup(org.apache.hadoop.mapreduce.Mapper.Context ctx) |
protected void setup(org.apache.hadoop.mapreduce.Mapper.Context ctx)
setup in class org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.IntWritable,VectorWritable,EntityEntityWritable,org.apache.hadoop.io.DoubleWritable>protected void map(org.apache.hadoop.io.IntWritable itemIDIndexWritable,
VectorWritable similarityVector,
org.apache.hadoop.mapreduce.Mapper.Context ctx)
throws IOException,
InterruptedException
map in class org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.IntWritable,VectorWritable,EntityEntityWritable,org.apache.hadoop.io.DoubleWritable>IOExceptionInterruptedExceptionCopyright © 2008–2017 The Apache Software Foundation. All rights reserved.