July 2017
Intermediate to advanced
796 pages
18h 55m
English
As seen earlier, the VertexRDD is an RDD containing the vertices and their associated attributes. Each element in the RDD represents a vertex or node in the graph. In order to maintain the uniqueness of the vertex, we need to have a way of assigning a unique ID to each of the vertexes. For this purpose, GraphX defines a very important identifier known as VertexId.
The declaration of VertexId is as follows as simply an alias for a 64-bit Long number:
type VertexId = Long
The VertexRDD extends an RDD of a pair of VertexID and vertex attributes represented ...
Read now
Unlock full access