public final class SimilarityMatrixRowWrapperMapper extends org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.IntWritable,VectorWritable,VarIntWritable,VectorOrPrefWritable>
VectorOrPrefWritable
actually a column from that matrix has to be used but as the similarity matrix is symmetric,
we can use a row instead of having to transpose it| Constructor and Description |
|---|
SimilarityMatrixRowWrapperMapper() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
map(org.apache.hadoop.io.IntWritable key,
VectorWritable value,
org.apache.hadoop.mapreduce.Mapper.Context context) |
protected void map(org.apache.hadoop.io.IntWritable key,
VectorWritable value,
org.apache.hadoop.mapreduce.Mapper.Context context)
throws IOException,
InterruptedException
map in class org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.IntWritable,VectorWritable,VarIntWritable,VectorOrPrefWritable>IOExceptionInterruptedExceptionCopyright © 2008–2017 The Apache Software Foundation. All rights reserved.