I
- Vertex idV
- Vertex dataE
- Edge datapublic interface VertexResolver<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable>
Modifier and Type | Method and Description |
---|---|
Vertex<I,V,E> |
resolve(I vertexId,
Vertex<I,V,E> vertex,
VertexChanges<I,V,E> vertexChanges,
boolean hasMessages)
A vertex may have been removed, created zero or more times and had
zero or more messages sent to it.
|
Vertex<I,V,E> resolve(I vertexId, Vertex<I,V,E> vertex, VertexChanges<I,V,E> vertexChanges, boolean hasMessages)
vertexId
- Vertex id (can be used for Vertex
's initialize())vertex
- Original vertex or null if nonevertexChanges
- Changes that happened to this vertex or null if nonehasMessages
- True iff vertex received messages in the last superstepCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.