{"author_url":"https://blog.hatena.ne.jp/teppei-studio/","title":"GraphX Advent Calendar - Day 05 - \u9802\u70b9\u3068\u8fba\u3068\u3001\u305d\u3057\u3066\u30c8\u30ea\u30d7\u30ec\u30c3\u30c8","blog_title":"TEPPEI STUDIO","categories":["Hadoop","GraphX","Spark"],"author_name":"teppei-studio","provider_url":"https://hatena.blog","width":"100%","published":"2014-12-05 22:43:00","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fteppei.hateblo.jp%2Fentry%2F2014%2F12%2F05%2F224300\" title=\"GraphX Advent Calendar - Day 05 - \u9802\u70b9\u3068\u8fba\u3068\u3001\u305d\u3057\u3066\u30c8\u30ea\u30d7\u30ec\u30c3\u30c8 - TEPPEI STUDIO\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","blog_url":"https://teppei.hateblo.jp/","version":"1.0","description":"GraphX Advent Calendar 2014 - Adventar 5\u65e5\u76ee\u3067\u3059\u3002 Day04\u3067\u751f\u6210\u3057\u305f\u30b0\u30e9\u30d5\u30c7\u30fc\u30bf\u3092\u5143\u306b\u3001\u8272\u3005\u306a\u7de8\u96c6\u51e6\u7406\u3092\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002 \u9802\u70b9\u306e\u5024\u3092\u7de8\u96c6 \u9802\u70b9\u306e\u5024\u3092\u7de8\u96c6\u3059\u308b\u306b\u306f\u3001 mapVertices \u3068\u3044\u3046\u95a2\u6570\u3092\u4f7f\u3044\u307e\u3059\u3002 val graph2:Graph[Long, (Long, java.util.Date)] = graph.mapVertices((vid:VertexId, attr:(String, Long)) => attr._1.length * attr._2) \uff08\u51e6\u7406\u306e\u5185\u5bb9\u3068\u3057\u3066\u306f\u3001\u7279\u306b\u610f\u5473\u304c\u3042\u308a\u307e\u305b\u3093\u3002\uff09graph\u306e\u9802\u70b9\u306f\u3001\u3082\u3068\u3082\u3068 (\u2026","url":"https://teppei.hateblo.jp/entry/2014/12/05/224300","type":"rich","image_url":"http://cdn-ak.f.st-hatena.com/images/fotolife/t/teppei-studio/20100306/20100306105411.jpg"}