public static class ItemSimilarityJob.MostSimilarItemPairsReducer extends org.apache.hadoop.mapreduce.Reducer<EntityEntityWritable,org.apache.hadoop.io.DoubleWritable,EntityEntityWritable,org.apache.hadoop.io.DoubleWritable>
Constructor and Description |
---|
MostSimilarItemPairsReducer() |
Modifier and Type | Method and Description |
---|---|
protected void |
reduce(EntityEntityWritable pair,
Iterable<org.apache.hadoop.io.DoubleWritable> values,
org.apache.hadoop.mapreduce.Reducer.Context ctx) |
protected void reduce(EntityEntityWritable pair, Iterable<org.apache.hadoop.io.DoubleWritable> values, org.apache.hadoop.mapreduce.Reducer.Context ctx) throws IOException, InterruptedException
reduce
in class org.apache.hadoop.mapreduce.Reducer<EntityEntityWritable,org.apache.hadoop.io.DoubleWritable,EntityEntityWritable,org.apache.hadoop.io.DoubleWritable>
IOException
InterruptedException
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.