I
- vertexId type parameterM
- message type parameterpublic class PartitionMessage<I extends org.apache.hadoop.io.WritableComparable,M extends org.apache.hadoop.io.Writable> extends Object
Constructor and Description |
---|
PartitionMessage(int partitionId,
VertexIdMessages<I,M> message)
Constructs wrapper from partitino id and vertext message
object.
|
Modifier and Type | Method and Description |
---|---|
VertexIdMessages<I,M> |
getMessage()
Message
|
int |
getPartitionId()
Partition id
|
String |
toString() |
public PartitionMessage(int partitionId, VertexIdMessages<I,M> message)
partitionId
- destination partition idmessage
- message objectCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.