Constructs a VertexRDD
from an RDD of vertex-attribute pairs.
Constructs a VertexRDD
from an RDD of vertex-attribute pairs. Duplicate vertex entries are
merged using mergeFunc
. The resulting VertexRDD
will be joinable with edges
, and any
missing vertices referred to by edges
will be created with the attribute defaultVal
.
the vertex attribute type
the collection of vertex-attribute pairs
the EdgeRDD that these vertices may be joined with
the vertex attribute to use when creating missing vertices
the commutative, associative duplicate vertex attribute merge function
Constructs a VertexRDD
from an RDD of vertex-attribute pairs.
Constructs a VertexRDD
from an RDD of vertex-attribute pairs. Duplicate vertex entries are
removed arbitrarily. The resulting VertexRDD
will be joinable with edges
, and any missing
vertices referred to by edges
will be created with the attribute defaultVal
.
the vertex attribute type
the collection of vertex-attribute pairs
the EdgeRDD that these vertices may be joined with
the vertex attribute to use when creating missing vertices
Constructs a standalone VertexRDD
(one that is not set up for efficient joins with an
EdgeRDD) from an RDD of vertex-attribute pairs.
Constructs a standalone VertexRDD
(one that is not set up for efficient joins with an
EdgeRDD) from an RDD of vertex-attribute pairs. Duplicate entries are removed arbitrarily.
the vertex attribute type
the collection of vertex-attribute pairs
Constructs a VertexRDD
containing all vertices referred to in edges
.
Constructs a VertexRDD
containing all vertices referred to in edges
. The vertices will be
created with the attribute defaultVal
. The resulting VertexRDD
will be joinable with
edges
.
the vertex attribute type
the EdgeRDD referring to the vertices to create
the desired number of partitions for the resulting VertexRDD
the vertex attribute to use when creating missing vertices
The VertexRDD singleton is used to construct VertexRDDs.