You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by David Soroko <ds...@attivio.com> on 2014/03/20 15:36:49 UTC
graphx samples in Java
Hi
Where can I find the equivalent of the graphx example (http://spark.apache.org/docs/0.9.0/graphx-programming-guide.html#examples ) in Java ? For example. How does the following translates to Java
val users: RDD[(VertexId, (String, String))] =
sc.parallelize(Array((3L, ("rxin", "student")), (7L, ("jgonzal", "postdoc")),
(5L, ("franklin", "prof")), (2L, ("istoica", "prof"))))
thanks
--david