@Deprecated public class FloatSumMessageCombiner extends Object implements MessageCombiner<org.apache.hadoop.io.WritableComparable,org.apache.hadoop.io.FloatWritable>
Constructor and Description |
---|
FloatSumMessageCombiner()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
combine(org.apache.hadoop.io.WritableComparable vertexIndex,
org.apache.hadoop.io.FloatWritable originalMessage,
org.apache.hadoop.io.FloatWritable messageToCombine)
Deprecated.
Combine messageToCombine with originalMessage, by modifying
originalMessage.
|
org.apache.hadoop.io.FloatWritable |
createInitialMessage()
Deprecated.
Get the initial message.
|
public void combine(org.apache.hadoop.io.WritableComparable vertexIndex, org.apache.hadoop.io.FloatWritable originalMessage, org.apache.hadoop.io.FloatWritable messageToCombine)
MessageCombiner
combine
in interface MessageCombiner<org.apache.hadoop.io.WritableComparable,org.apache.hadoop.io.FloatWritable>
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.FloatWritable createInitialMessage()
MessageCombiner
createInitialMessage
in interface MessageCombiner<org.apache.hadoop.io.WritableComparable,org.apache.hadoop.io.FloatWritable>
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.