public static class EdgeOrder.EOStep2Mapper extends org.apache.hadoop.mapreduce.Mapper<LongPairWritable,org.apache.hadoop.io.IntWritable,LongPairWritable,org.apache.hadoop.io.IntWritable>
Constructor and Description |
---|
EOStep2Mapper() |
Modifier and Type | Method and Description |
---|---|
protected void |
map(LongPairWritable pair,
org.apache.hadoop.io.IntWritable uDeg,
org.apache.hadoop.mapreduce.Mapper.Context context)
The map function of the second step
|
protected void map(LongPairWritable pair, org.apache.hadoop.io.IntWritable uDeg, org.apache.hadoop.mapreduce.Mapper.Context context) throws java.io.IOException, java.lang.InterruptedException
map
in class org.apache.hadoop.mapreduce.Mapper<LongPairWritable,org.apache.hadoop.io.IntWritable,LongPairWritable,org.apache.hadoop.io.IntWritable>
pair
- an edge. The high 32 bits are of a source vertex and thelow 32 bits are of a destination vertex.uDeg
- The degree of the source vertexcontext
- of hadoopjava.io.IOException
- by hadoopjava.lang.InterruptedException
- by hadoop