From 2cd9358ccf28186e88016b6542d7c0c90536651f Mon Sep 17 00:00:00 2001 From: Ankur Dave Date: Mon, 13 Jan 2014 22:29:23 -0800 Subject: Finish 6f6f8c928ce493357d4d32e46971c5e401682ea8 --- docs/graphx-programming-guide.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'docs/graphx-programming-guide.md') 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, -- cgit v1.2.3