diff options
author | Ankur Dave <ankurdave@gmail.com> | 2014-01-13 22:29:23 -0800 |
---|---|---|
committer | Ankur Dave <ankurdave@gmail.com> | 2014-01-13 22:29:23 -0800 |
commit | 2cd9358ccf28186e88016b6542d7c0c90536651f (patch) | |
tree | 5385cb613e442fa3e16c0317b028d7caee3d825a /docs | |
parent | 76ebdae79866f4721ef39aaccfa89a255d3cea6a (diff) | |
download | spark-2cd9358ccf28186e88016b6542d7c0c90536651f.tar.gz spark-2cd9358ccf28186e88016b6542d7c0c90536651f.tar.bz2 spark-2cd9358ccf28186e88016b6542d7c0c90536651f.zip |
Finish 6f6f8c928ce493357d4d32e46971c5e401682ea8
Diffstat (limited to 'docs')
-rw-r--r-- | docs/graphx-programming-guide.md | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/graphx-programming-guide.md b/docs/graphx-programming-guide.md index 29d397c371..226299a759 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, |