Skip to content

Commit

Permalink
doc update: note about the default null value vertices construction
Browse files Browse the repository at this point in the history
  • Loading branch information
larryxiao committed Sep 16, 2014
1 parent dfdb3c9 commit 614059f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions graphx/src/main/scala/org/apache/spark/graphx/VertexRDD.scala
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,8 @@ object VertexRDD {
* @param edges the [[EdgeRDD]] that these vertices may be joined with
* @param defaultVal the vertex attribute to use when creating missing vertices
* @param mergeFunc the commutative, associative duplicate vertex attribute merge function
* note that all vertices with default value created upon construction in VertexPartition
* so it will appear as b in (a, b) pair for mergeFunc.
*/
def apply[VD: ClassTag](
vertices: RDD[(VertexId, VD)], edges: EdgeRDD[_, _], defaultVal: VD, mergeFunc: (VD, VD) => VD
Expand Down

0 comments on commit 614059f

Please sign in to comment.