public static class RowSimilarityJob.UnsymmetrifyMapper extends org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.IntWritable,VectorWritable,org.apache.hadoop.io.IntWritable,VectorWritable>
| Constructor and Description |
|---|
UnsymmetrifyMapper() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
map(org.apache.hadoop.io.IntWritable row,
VectorWritable similaritiesWritable,
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)
throws IOException,
InterruptedException
setup in class org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.IntWritable,VectorWritable,org.apache.hadoop.io.IntWritable,VectorWritable>IOExceptionInterruptedExceptionprotected void map(org.apache.hadoop.io.IntWritable row,
VectorWritable similaritiesWritable,
org.apache.hadoop.mapreduce.Mapper.Context ctx)
throws IOException,
InterruptedException
map in class org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.IntWritable,VectorWritable,org.apache.hadoop.io.IntWritable,VectorWritable>IOExceptionInterruptedExceptionCopyright © 2008–2017 The Apache Software Foundation. All rights reserved.