@Deprecated public class SimpleSumMessageCombiner extends Object implements MessageCombiner<org.apache.hadoop.io.WritableComparable,org.apache.hadoop.io.IntWritable>
IntWritable
message values.
Use SumMessageCombiner.INT instead.Constructor and Description |
---|
SimpleSumMessageCombiner()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
combine(org.apache.hadoop.io.WritableComparable vertexIndex,
org.apache.hadoop.io.IntWritable originalMessage,
org.apache.hadoop.io.IntWritable messageToCombine)
Deprecated.
Combine messageToCombine with originalMessage, by modifying
originalMessage.
|
org.apache.hadoop.io.IntWritable |
createInitialMessage()
Deprecated.
Get the initial message.
|
public void combine(org.apache.hadoop.io.WritableComparable vertexIndex, org.apache.hadoop.io.IntWritable originalMessage, org.apache.hadoop.io.IntWritable messageToCombine)
MessageCombiner
combine
in interface MessageCombiner<org.apache.hadoop.io.WritableComparable,org.apache.hadoop.io.IntWritable>
vertexIndex
- Index of the vertex getting these messagesoriginalMessage
- The first message which we want to combine;
put the result of combining in this messagemessageToCombine
- The second message which we want to combine
(object may be reused - do not reference it or its
member objects)public org.apache.hadoop.io.IntWritable createInitialMessage()
MessageCombiner
createInitialMessage
in interface MessageCombiner<org.apache.hadoop.io.WritableComparable,org.apache.hadoop.io.IntWritable>
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.