public static class EdgeOrder.EOStep1Reducer extends org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.LongWritable,LongPairWritable,org.apache.hadoop.io.IntWritable>
Constructor and Description |
---|
EOStep1Reducer() |
Modifier and Type | Method and Description |
---|---|
protected void |
reduce(org.apache.hadoop.io.LongWritable _u,
java.lang.Iterable<org.apache.hadoop.io.LongWritable> uN,
org.apache.hadoop.mapreduce.Reducer.Context context)
The reduce function of the first step
|
protected void reduce(org.apache.hadoop.io.LongWritable _u, java.lang.Iterable<org.apache.hadoop.io.LongWritable> uN, org.apache.hadoop.mapreduce.Reducer.Context context) throws java.io.IOException, java.lang.InterruptedException
reduce
in class org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.LongWritable,LongPairWritable,org.apache.hadoop.io.IntWritable>
_u
- a vertexuN
- neighbors of the vertexcontext
- of hadoopjava.io.IOException
- by hadoopjava.lang.InterruptedException
- by hadoop