You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by pw...@apache.org on 2014/01/14 08:00:10 UTC

[46/50] git commit: Finish 6f6f8c928ce493357d4d32e46971c5e401682ea8

Finish 6f6f8c928ce493357d4d32e46971c5e401682ea8


Project: http://git-wip-us.apache.org/repos/asf/incubator-spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-spark/commit/2cd9358c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-spark/tree/2cd9358c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-spark/diff/2cd9358c

Branch: refs/heads/master
Commit: 2cd9358ccf28186e88016b6542d7c0c90536651f
Parents: 76ebdae
Author: Ankur Dave <an...@gmail.com>
Authored: Mon Jan 13 22:29:23 2014 -0800
Committer: Ankur Dave <an...@gmail.com>
Committed: Mon Jan 13 22:29:23 2014 -0800

----------------------------------------------------------------------
 docs/graphx-programming-guide.md | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-spark/blob/2cd9358c/docs/graphx-programming-guide.md
----------------------------------------------------------------------
diff --git a/docs/graphx-programming-guide.md b/docs/graphx-programming-guide.md
index 29d397c..226299a 100644
--- a/docs/graphx-programming-guide.md
+++ b/docs/graphx-programming-guide.md
@@ -125,8 +125,10 @@ properties for each vertex and edge.  As a consequence, the graph class contains
 the vertices and edges of the graph:
 
 {% highlight scala %}
-val vertices: VertexRDD[VD]
-val edges: EdgeRDD[ED]
+class Graph[VD, ED] {
+  val vertices: VertexRDD[VD]
+  val edges: EdgeRDD[ED]
+}
 {% endhighlight %}
 
 The classes `VertexRDD[VD]` and `EdgeRDD[ED]` extend and are optimized versions of `RDD[(VertexId,