summaryrefslogtreecommitdiff
path: root/site/docs/1.5.0/api/java/org/apache/spark/graphx/impl/GraphImpl.html
blob: 5c0c99cecca17e652d09582cafa069c78ea75a82 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Wed Sep 16 15:55:12 PDT 2015 -->
<title>GraphImpl</title>
<meta name="date" content="2015-09-16">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="GraphImpl";
    }
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!--   -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/spark/graphx/impl/EdgeRDDImpl.html" title="class in org.apache.spark.graphx.impl"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../../org/apache/spark/graphx/impl/VertexRDDImpl.html" title="class in org.apache.spark.graphx.impl"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/spark/graphx/impl/GraphImpl.html" target="_top">Frames</a></li>
<li><a href="GraphImpl.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.spark.graphx.impl</div>
<h2 title="Class GraphImpl" class="title">Class GraphImpl&lt;VD,ED&gt;</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li><a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">org.apache.spark.graphx.Graph</a>&lt;VD,ED&gt;</li>
<li>
<ul class="inheritance">
<li>org.apache.spark.graphx.impl.GraphImpl&lt;VD,ED&gt;</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>java.io.Serializable</dd>
</dl>
<hr>
<br>
<pre>public class <span class="strong">GraphImpl&lt;VD,ED&gt;</span>
extends <a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;VD,ED&gt;
implements scala.Serializable</pre>
<div class="block">An implementation of <a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx"><code>Graph</code></a> to support computation on graphs.
 <p>
 Graphs are represented using two RDDs: <code>vertices</code>, which contains vertex attributes and the
 routing information for shipping vertex attributes to edge partitions, and
 <code>replicatedVertexView</code>, which contains edges and the vertex attributes mentioned by each edge.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../serialized-form.html#org.apache.spark.graphx.impl.GraphImpl">Serialized Form</a></dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!--   -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier</th>
<th class="colLast" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected </code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html#GraphImpl(scala.reflect.ClassTag, scala.reflect.ClassTag)">GraphImpl</a></strong>(scala.reflect.ClassTag&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>&gt;&nbsp;evidence$3,
         scala.reflect.ClassTag&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;&nbsp;evidence$4)</code>
<div class="block">Default constructor is provided to support serialization</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected </code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html#GraphImpl(org.apache.spark.graphx.VertexRDD, org.apache.spark.graphx.impl.ReplicatedVertexView, scala.reflect.ClassTag, scala.reflect.ClassTag)">GraphImpl</a></strong>(<a href="../../../../../org/apache/spark/graphx/VertexRDD.html" title="class in org.apache.spark.graphx">VertexRDD</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>&gt;&nbsp;vertices,
         org.apache.spark.graphx.impl.ReplicatedVertexView&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;&nbsp;replicatedVertexView,
         scala.reflect.ClassTag&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>&gt;&nbsp;evidence$1,
         scala.reflect.ClassTag&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;&nbsp;evidence$2)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&lt;A&gt;&nbsp;<a href="../../../../../org/apache/spark/graphx/VertexRDD.html" title="class in org.apache.spark.graphx">VertexRDD</a>&lt;A&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html#aggregateMessagesWithActiveSet(scala.Function1, scala.Function2, org.apache.spark.graphx.TripletFields, scala.Option, scala.reflect.ClassTag)">aggregateMessagesWithActiveSet</a></strong>(scala.Function1&lt;<a href="../../../../../org/apache/spark/graphx/EdgeContext.html" title="class in org.apache.spark.graphx">EdgeContext</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>,A&gt;,scala.runtime.BoxedUnit&gt;&nbsp;sendMsg,
                              scala.Function2&lt;A,A,A&gt;&nbsp;mergeMsg,
                              <a href="../../../../../org/apache/spark/graphx/TripletFields.html" title="class in org.apache.spark.graphx">TripletFields</a>&nbsp;tripletFields,
                              scala.Option&lt;scala.Tuple2&lt;<a href="../../../../../org/apache/spark/graphx/VertexRDD.html" title="class in org.apache.spark.graphx">VertexRDD</a>&lt;?&gt;,<a href="../../../../../org/apache/spark/graphx/EdgeDirection.html" title="class in org.apache.spark.graphx">EdgeDirection</a>&gt;&gt;&nbsp;activeSetOpt,
                              scala.reflect.ClassTag&lt;A&gt;&nbsp;evidence$11)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static &lt;VD,ED&gt;&nbsp;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="class in org.apache.spark.graphx.impl">GraphImpl</a>&lt;VD,ED&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html#apply(org.apache.spark.rdd.RDD, VD, org.apache.spark.storage.StorageLevel, org.apache.spark.storage.StorageLevel, scala.reflect.ClassTag, scala.reflect.ClassTag)">apply</a></strong>(<a href="../../../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;<a href="../../../../../org/apache/spark/graphx/Edge.html" title="class in org.apache.spark.graphx">Edge</a>&lt;ED&gt;&gt;&nbsp;edges,
     VD&nbsp;defaultVertexAttr,
     <a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a>&nbsp;edgeStorageLevel,
     <a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a>&nbsp;vertexStorageLevel,
     scala.reflect.ClassTag&lt;VD&gt;&nbsp;evidence$14,
     scala.reflect.ClassTag&lt;ED&gt;&nbsp;evidence$15)</code>
<div class="block">Create a graph from edges, setting referenced vertices to `defaultVertexAttr`.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static &lt;VD,ED&gt;&nbsp;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="class in org.apache.spark.graphx.impl">GraphImpl</a>&lt;VD,ED&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html#apply(org.apache.spark.rdd.RDD, org.apache.spark.rdd.RDD, VD, org.apache.spark.storage.StorageLevel, org.apache.spark.storage.StorageLevel, scala.reflect.ClassTag, scala.reflect.ClassTag)">apply</a></strong>(<a href="../../../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;scala.Tuple2&lt;java.lang.Object,VD&gt;&gt;&nbsp;vertices,
     <a href="../../../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;<a href="../../../../../org/apache/spark/graphx/Edge.html" title="class in org.apache.spark.graphx">Edge</a>&lt;ED&gt;&gt;&nbsp;edges,
     VD&nbsp;defaultVertexAttr,
     <a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a>&nbsp;edgeStorageLevel,
     <a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a>&nbsp;vertexStorageLevel,
     scala.reflect.ClassTag&lt;VD&gt;&nbsp;evidence$18,
     scala.reflect.ClassTag&lt;ED&gt;&nbsp;evidence$19)</code>
<div class="block">Create a graph from vertices and edges, setting missing vertices to `defaultVertexAttr`.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static &lt;VD,ED&gt;&nbsp;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="class in org.apache.spark.graphx.impl">GraphImpl</a>&lt;VD,ED&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html#apply(org.apache.spark.graphx.VertexRDD, org.apache.spark.graphx.EdgeRDD, scala.reflect.ClassTag, scala.reflect.ClassTag)">apply</a></strong>(<a href="../../../../../org/apache/spark/graphx/VertexRDD.html" title="class in org.apache.spark.graphx">VertexRDD</a>&lt;VD&gt;&nbsp;vertices,
     <a href="../../../../../org/apache/spark/graphx/EdgeRDD.html" title="class in org.apache.spark.graphx">EdgeRDD</a>&lt;ED&gt;&nbsp;edges,
     scala.reflect.ClassTag&lt;VD&gt;&nbsp;evidence$20,
     scala.reflect.ClassTag&lt;ED&gt;&nbsp;evidence$21)</code>
<div class="block">Create a graph from a VertexRDD and an EdgeRDD with arbitrary replicated vertices.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html#cache()">cache</a></strong>()</code>
<div class="block">Caches the vertices and edges associated with this graph at the previously-specified target
 storage levels, which default to <code>MEMORY_ONLY</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html#checkpoint()">checkpoint</a></strong>()</code>
<div class="block">Mark this Graph for checkpointing.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/spark/graphx/impl/EdgeRDDImpl.html" title="class in org.apache.spark.graphx.impl">EdgeRDDImpl</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html#edges()">edges</a></strong>()</code>
<div class="block">An RDD containing the edges and their associated attributes.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static &lt;VD,ED&gt;&nbsp;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="class in org.apache.spark.graphx.impl">GraphImpl</a>&lt;VD,ED&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html#fromEdgePartitions(org.apache.spark.rdd.RDD, VD, org.apache.spark.storage.StorageLevel, org.apache.spark.storage.StorageLevel, scala.reflect.ClassTag, scala.reflect.ClassTag)">fromEdgePartitions</a></strong>(<a href="../../../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;scala.Tuple2&lt;java.lang.Object,org.apache.spark.graphx.impl.EdgePartition&lt;ED,VD&gt;&gt;&gt;&nbsp;edgePartitions,
                  VD&nbsp;defaultVertexAttr,
                  <a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a>&nbsp;edgeStorageLevel,
                  <a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a>&nbsp;vertexStorageLevel,
                  scala.reflect.ClassTag&lt;VD&gt;&nbsp;evidence$16,
                  scala.reflect.ClassTag&lt;ED&gt;&nbsp;evidence$17)</code>
<div class="block">Create a graph from EdgePartitions, setting referenced vertices to `defaultVertexAttr`.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static &lt;VD,ED&gt;&nbsp;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="class in org.apache.spark.graphx.impl">GraphImpl</a>&lt;VD,ED&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html#fromExistingRDDs(org.apache.spark.graphx.VertexRDD, org.apache.spark.graphx.EdgeRDD, scala.reflect.ClassTag, scala.reflect.ClassTag)">fromExistingRDDs</a></strong>(<a href="../../../../../org/apache/spark/graphx/VertexRDD.html" title="class in org.apache.spark.graphx">VertexRDD</a>&lt;VD&gt;&nbsp;vertices,
                <a href="../../../../../org/apache/spark/graphx/EdgeRDD.html" title="class in org.apache.spark.graphx">EdgeRDD</a>&lt;ED&gt;&nbsp;edges,
                scala.reflect.ClassTag&lt;VD&gt;&nbsp;evidence$22,
                scala.reflect.ClassTag&lt;ED&gt;&nbsp;evidence$23)</code>
<div class="block">Create a graph from a VertexRDD and an EdgeRDD with the same replicated vertex type as the
 vertices.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>scala.collection.Seq&lt;java.lang.String&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html#getCheckpointFiles()">getCheckpointFiles</a></strong>()</code>
<div class="block">Gets the name of the files to which this Graph was checkpointed.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html#groupEdges(scala.Function2)">groupEdges</a></strong>(scala.Function2&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;&nbsp;merge)</code>
<div class="block">Merges multiple edges between two vertices into a single edge.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html#isCheckpointed()">isCheckpointed</a></strong>()</code>
<div class="block">Return whether this Graph has been checkpointed or not.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&lt;ED2&gt;&nbsp;<a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,ED2&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html#mapEdges(scala.Function2, scala.reflect.ClassTag)">mapEdges</a></strong>(scala.Function2&lt;java.lang.Object,scala.collection.Iterator&lt;<a href="../../../../../org/apache/spark/graphx/Edge.html" title="class in org.apache.spark.graphx">Edge</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;&gt;,scala.collection.Iterator&lt;ED2&gt;&gt;&nbsp;f,
        scala.reflect.ClassTag&lt;ED2&gt;&nbsp;evidence$6)</code>
<div class="block">Transforms each edge attribute using the map function, passing it a whole partition at a
 time.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&lt;A&gt;&nbsp;<a href="../../../../../org/apache/spark/graphx/VertexRDD.html" title="class in org.apache.spark.graphx">VertexRDD</a>&lt;A&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html#mapReduceTriplets(scala.Function1, scala.Function2, scala.Option, scala.reflect.ClassTag)">mapReduceTriplets</a></strong>(scala.Function1&lt;<a href="../../../../../org/apache/spark/graphx/EdgeTriplet.html" title="class in org.apache.spark.graphx">EdgeTriplet</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;,scala.collection.Iterator&lt;scala.Tuple2&lt;java.lang.Object,A&gt;&gt;&gt;&nbsp;mapFunc,
                 scala.Function2&lt;A,A,A&gt;&nbsp;reduceFunc,
                 scala.Option&lt;scala.Tuple2&lt;<a href="../../../../../org/apache/spark/graphx/VertexRDD.html" title="class in org.apache.spark.graphx">VertexRDD</a>&lt;?&gt;,<a href="../../../../../org/apache/spark/graphx/EdgeDirection.html" title="class in org.apache.spark.graphx">EdgeDirection</a>&gt;&gt;&nbsp;activeSetOpt,
                 scala.reflect.ClassTag&lt;A&gt;&nbsp;evidence$10)</code>
<div class="block">Aggregates values from the neighboring edges and vertices of each vertex.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&lt;ED2&gt;&nbsp;<a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,ED2&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html#mapTriplets(scala.Function2, org.apache.spark.graphx.TripletFields, scala.reflect.ClassTag)">mapTriplets</a></strong>(scala.Function2&lt;java.lang.Object,scala.collection.Iterator&lt;<a href="../../../../../org/apache/spark/graphx/EdgeTriplet.html" title="class in org.apache.spark.graphx">EdgeTriplet</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;&gt;,scala.collection.Iterator&lt;ED2&gt;&gt;&nbsp;f,
           <a href="../../../../../org/apache/spark/graphx/TripletFields.html" title="class in org.apache.spark.graphx">TripletFields</a>&nbsp;tripletFields,
           scala.reflect.ClassTag&lt;ED2&gt;&nbsp;evidence$7)</code>
<div class="block">Transforms each edge attribute a partition at a time using the map function, passing it the
 adjacent vertex attributes as well.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&lt;VD2&gt;&nbsp;<a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;VD2,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html#mapVertices(scala.Function2, scala.reflect.ClassTag, scala.Predef.$eq$colon$eq)">mapVertices</a></strong>(scala.Function2&lt;java.lang.Object,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,VD2&gt;&nbsp;f,
           scala.reflect.ClassTag&lt;VD2&gt;&nbsp;evidence$5,
           scala.Predef.$eq$colon$eq&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,VD2&gt;&nbsp;eq)</code>
<div class="block">Transforms each vertex attribute in the graph using the map function.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&lt;VD2,ED2&gt;&nbsp;<a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html#mask(org.apache.spark.graphx.Graph, scala.reflect.ClassTag, scala.reflect.ClassTag)">mask</a></strong>(<a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;VD2,ED2&gt;&nbsp;other,
    scala.reflect.ClassTag&lt;VD2&gt;&nbsp;evidence$8,
    scala.reflect.ClassTag&lt;ED2&gt;&nbsp;evidence$9)</code>
<div class="block">Restricts the graph to only the vertices and edges that are also in <code>other</code>, but keeps the
 attributes from this graph.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&lt;U,VD2&gt;&nbsp;<a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;VD2,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html#outerJoinVertices(org.apache.spark.rdd.RDD, scala.Function3, scala.reflect.ClassTag, scala.reflect.ClassTag, scala.Predef.$eq$colon$eq)">outerJoinVertices</a></strong>(<a href="../../../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;scala.Tuple2&lt;java.lang.Object,U&gt;&gt;&nbsp;other,
                 scala.Function3&lt;java.lang.Object,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,scala.Option&lt;U&gt;,VD2&gt;&nbsp;updateF,
                 scala.reflect.ClassTag&lt;U&gt;&nbsp;evidence$12,
                 scala.reflect.ClassTag&lt;VD2&gt;&nbsp;evidence$13,
                 scala.Predef.$eq$colon$eq&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,VD2&gt;&nbsp;eq)</code>
<div class="block">Joins the vertices with entries in the <code>table</code> RDD and merges the results using <code>mapFunc</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html#partitionBy(org.apache.spark.graphx.PartitionStrategy)">partitionBy</a></strong>(<a href="../../../../../org/apache/spark/graphx/PartitionStrategy.html" title="interface in org.apache.spark.graphx">PartitionStrategy</a>&nbsp;partitionStrategy)</code>
<div class="block">Repartitions the edges in the graph according to <code>partitionStrategy</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html#partitionBy(org.apache.spark.graphx.PartitionStrategy, int)">partitionBy</a></strong>(<a href="../../../../../org/apache/spark/graphx/PartitionStrategy.html" title="interface in org.apache.spark.graphx">PartitionStrategy</a>&nbsp;partitionStrategy,
           int&nbsp;numPartitions)</code>
<div class="block">Repartitions the edges in the graph according to <code>partitionStrategy</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html#persist(org.apache.spark.storage.StorageLevel)">persist</a></strong>(<a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a>&nbsp;newLevel)</code>
<div class="block">Caches the vertices and edges associated with this graph at the specified storage level,
 ignoring any target storage levels previously set.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>org.apache.spark.graphx.impl.ReplicatedVertexView&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html#replicatedVertexView()">replicatedVertexView</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html#reverse()">reverse</a></strong>()</code>
<div class="block">Reverses all edges in the graph.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html#subgraph(scala.Function1, scala.Function2)">subgraph</a></strong>(scala.Function1&lt;<a href="../../../../../org/apache/spark/graphx/EdgeTriplet.html" title="class in org.apache.spark.graphx">EdgeTriplet</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;,java.lang.Object&gt;&nbsp;epred,
        scala.Function2&lt;java.lang.Object,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,java.lang.Object&gt;&nbsp;vpred)</code>
<div class="block">Restricts the graph to only the vertices and edges satisfying the predicates.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;<a href="../../../../../org/apache/spark/graphx/EdgeTriplet.html" title="class in org.apache.spark.graphx">EdgeTriplet</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html#triplets()">triplets</a></strong>()</code>
<div class="block">Return a RDD that brings edges together with their source and destination vertices.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html#unpersist(boolean)">unpersist</a></strong>(boolean&nbsp;blocking)</code>
<div class="block">Uncaches both vertices and edges of this graph.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html#unpersistVertices(boolean)">unpersistVertices</a></strong>(boolean&nbsp;blocking)</code>
<div class="block">Uncaches only the vertices of this graph, leaving the edges alone.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/spark/graphx/VertexRDD.html" title="class in org.apache.spark.graphx">VertexRDD</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html#vertices()">vertices</a></strong>()</code>
<div class="block">An RDD containing the vertices and their associated attributes.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_org.apache.spark.graphx.Graph">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.spark.graphx.<a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a></h3>
<code><a href="../../../../../org/apache/spark/graphx/Graph.html#aggregateMessages(scala.Function1, scala.Function2, org.apache.spark.graphx.TripletFields, scala.reflect.ClassTag)">aggregateMessages</a>, <a href="../../../../../org/apache/spark/graphx/Graph.html#fromEdges(org.apache.spark.rdd.RDD, VD, org.apache.spark.storage.StorageLevel, org.apache.spark.storage.StorageLevel, scala.reflect.ClassTag, scala.reflect.ClassTag)">fromEdges</a>, <a href="../../../../../org/apache/spark/graphx/Graph.html#fromEdgeTuples(org.apache.spark.rdd.RDD, VD, scala.Option, org.apache.spark.storage.StorageLevel, org.apache.spark.storage.StorageLevel, scala.reflect.ClassTag)">fromEdgeTuples</a>, <a href="../../../../../org/apache/spark/graphx/Graph.html#graphToGraphOps(org.apache.spark.graphx.Graph, scala.reflect.ClassTag, scala.reflect.ClassTag)">graphToGraphOps</a>, <a href="../../../../../org/apache/spark/graphx/Graph.html#mapEdges(scala.Function1, scala.reflect.ClassTag)">mapEdges</a>, <a href="../../../../../org/apache/spark/graphx/Graph.html#mapTriplets(scala.Function1, scala.reflect.ClassTag)">mapTriplets</a>, <a href="../../../../../org/apache/spark/graphx/Graph.html#mapTriplets(scala.Function1, org.apache.spark.graphx.TripletFields, scala.reflect.ClassTag)">mapTriplets</a>, <a href="../../../../../org/apache/spark/graphx/Graph.html#ops()">ops</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!--   -->
</a>
<h3>Constructor Detail</h3>
<a name="GraphImpl(org.apache.spark.graphx.VertexRDD, org.apache.spark.graphx.impl.ReplicatedVertexView, scala.reflect.ClassTag, scala.reflect.ClassTag)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>GraphImpl</h4>
<pre>protected&nbsp;GraphImpl(<a href="../../../../../org/apache/spark/graphx/VertexRDD.html" title="class in org.apache.spark.graphx">VertexRDD</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>&gt;&nbsp;vertices,
         org.apache.spark.graphx.impl.ReplicatedVertexView&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;&nbsp;replicatedVertexView,
         scala.reflect.ClassTag&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>&gt;&nbsp;evidence$1,
         scala.reflect.ClassTag&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;&nbsp;evidence$2)</pre>
</li>
</ul>
<a name="GraphImpl(scala.reflect.ClassTag, scala.reflect.ClassTag)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>GraphImpl</h4>
<pre>protected&nbsp;GraphImpl(scala.reflect.ClassTag&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>&gt;&nbsp;evidence$3,
         scala.reflect.ClassTag&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;&nbsp;evidence$4)</pre>
<div class="block">Default constructor is provided to support serialization</div>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="apply(org.apache.spark.rdd.RDD,java.lang.Object,org.apache.spark.storage.StorageLevel,org.apache.spark.storage.StorageLevel,scala.reflect.ClassTag,scala.reflect.ClassTag)">
<!--   -->
</a><a name="apply(org.apache.spark.rdd.RDD, VD, org.apache.spark.storage.StorageLevel, org.apache.spark.storage.StorageLevel, scala.reflect.ClassTag, scala.reflect.ClassTag)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>apply</h4>
<pre>public static&nbsp;&lt;VD,ED&gt;&nbsp;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="class in org.apache.spark.graphx.impl">GraphImpl</a>&lt;VD,ED&gt;&nbsp;apply(<a href="../../../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;<a href="../../../../../org/apache/spark/graphx/Edge.html" title="class in org.apache.spark.graphx">Edge</a>&lt;ED&gt;&gt;&nbsp;edges,
                             VD&nbsp;defaultVertexAttr,
                             <a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a>&nbsp;edgeStorageLevel,
                             <a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a>&nbsp;vertexStorageLevel,
                             scala.reflect.ClassTag&lt;VD&gt;&nbsp;evidence$14,
                             scala.reflect.ClassTag&lt;ED&gt;&nbsp;evidence$15)</pre>
<div class="block">Create a graph from edges, setting referenced vertices to `defaultVertexAttr`.</div>
</li>
</ul>
<a name="fromEdgePartitions(org.apache.spark.rdd.RDD,java.lang.Object,org.apache.spark.storage.StorageLevel,org.apache.spark.storage.StorageLevel,scala.reflect.ClassTag,scala.reflect.ClassTag)">
<!--   -->
</a><a name="fromEdgePartitions(org.apache.spark.rdd.RDD, VD, org.apache.spark.storage.StorageLevel, org.apache.spark.storage.StorageLevel, scala.reflect.ClassTag, scala.reflect.ClassTag)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fromEdgePartitions</h4>
<pre>public static&nbsp;&lt;VD,ED&gt;&nbsp;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="class in org.apache.spark.graphx.impl">GraphImpl</a>&lt;VD,ED&gt;&nbsp;fromEdgePartitions(<a href="../../../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;scala.Tuple2&lt;java.lang.Object,org.apache.spark.graphx.impl.EdgePartition&lt;ED,VD&gt;&gt;&gt;&nbsp;edgePartitions,
                                          VD&nbsp;defaultVertexAttr,
                                          <a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a>&nbsp;edgeStorageLevel,
                                          <a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a>&nbsp;vertexStorageLevel,
                                          scala.reflect.ClassTag&lt;VD&gt;&nbsp;evidence$16,
                                          scala.reflect.ClassTag&lt;ED&gt;&nbsp;evidence$17)</pre>
<div class="block">Create a graph from EdgePartitions, setting referenced vertices to `defaultVertexAttr`.</div>
</li>
</ul>
<a name="apply(org.apache.spark.rdd.RDD,org.apache.spark.rdd.RDD,java.lang.Object,org.apache.spark.storage.StorageLevel,org.apache.spark.storage.StorageLevel,scala.reflect.ClassTag,scala.reflect.ClassTag)">
<!--   -->
</a><a name="apply(org.apache.spark.rdd.RDD, org.apache.spark.rdd.RDD, VD, org.apache.spark.storage.StorageLevel, org.apache.spark.storage.StorageLevel, scala.reflect.ClassTag, scala.reflect.ClassTag)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>apply</h4>
<pre>public static&nbsp;&lt;VD,ED&gt;&nbsp;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="class in org.apache.spark.graphx.impl">GraphImpl</a>&lt;VD,ED&gt;&nbsp;apply(<a href="../../../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;scala.Tuple2&lt;java.lang.Object,VD&gt;&gt;&nbsp;vertices,
                             <a href="../../../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;<a href="../../../../../org/apache/spark/graphx/Edge.html" title="class in org.apache.spark.graphx">Edge</a>&lt;ED&gt;&gt;&nbsp;edges,
                             VD&nbsp;defaultVertexAttr,
                             <a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a>&nbsp;edgeStorageLevel,
                             <a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a>&nbsp;vertexStorageLevel,
                             scala.reflect.ClassTag&lt;VD&gt;&nbsp;evidence$18,
                             scala.reflect.ClassTag&lt;ED&gt;&nbsp;evidence$19)</pre>
<div class="block">Create a graph from vertices and edges, setting missing vertices to `defaultVertexAttr`.</div>
</li>
</ul>
<a name="apply(org.apache.spark.graphx.VertexRDD, org.apache.spark.graphx.EdgeRDD, scala.reflect.ClassTag, scala.reflect.ClassTag)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>apply</h4>
<pre>public static&nbsp;&lt;VD,ED&gt;&nbsp;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="class in org.apache.spark.graphx.impl">GraphImpl</a>&lt;VD,ED&gt;&nbsp;apply(<a href="../../../../../org/apache/spark/graphx/VertexRDD.html" title="class in org.apache.spark.graphx">VertexRDD</a>&lt;VD&gt;&nbsp;vertices,
                             <a href="../../../../../org/apache/spark/graphx/EdgeRDD.html" title="class in org.apache.spark.graphx">EdgeRDD</a>&lt;ED&gt;&nbsp;edges,
                             scala.reflect.ClassTag&lt;VD&gt;&nbsp;evidence$20,
                             scala.reflect.ClassTag&lt;ED&gt;&nbsp;evidence$21)</pre>
<div class="block">Create a graph from a VertexRDD and an EdgeRDD with arbitrary replicated vertices. The
 VertexRDD must already be set up for efficient joins with the EdgeRDD by calling
 <code>VertexRDD.withEdges</code> or an appropriate VertexRDD constructor.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>vertices</code> - (undocumented)</dd><dd><code>edges</code> - (undocumented)</dd><dd><code>evidence$20</code> - (undocumented)</dd><dd><code>evidence$21</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="fromExistingRDDs(org.apache.spark.graphx.VertexRDD, org.apache.spark.graphx.EdgeRDD, scala.reflect.ClassTag, scala.reflect.ClassTag)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fromExistingRDDs</h4>
<pre>public static&nbsp;&lt;VD,ED&gt;&nbsp;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="class in org.apache.spark.graphx.impl">GraphImpl</a>&lt;VD,ED&gt;&nbsp;fromExistingRDDs(<a href="../../../../../org/apache/spark/graphx/VertexRDD.html" title="class in org.apache.spark.graphx">VertexRDD</a>&lt;VD&gt;&nbsp;vertices,
                                        <a href="../../../../../org/apache/spark/graphx/EdgeRDD.html" title="class in org.apache.spark.graphx">EdgeRDD</a>&lt;ED&gt;&nbsp;edges,
                                        scala.reflect.ClassTag&lt;VD&gt;&nbsp;evidence$22,
                                        scala.reflect.ClassTag&lt;ED&gt;&nbsp;evidence$23)</pre>
<div class="block">Create a graph from a VertexRDD and an EdgeRDD with the same replicated vertex type as the
 vertices. The VertexRDD must already be set up for efficient joins with the EdgeRDD by calling
 <code>VertexRDD.withEdges</code> or an appropriate VertexRDD constructor.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>vertices</code> - (undocumented)</dd><dd><code>edges</code> - (undocumented)</dd><dd><code>evidence$22</code> - (undocumented)</dd><dd><code>evidence$23</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="vertices()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>vertices</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/spark/graphx/VertexRDD.html" title="class in org.apache.spark.graphx">VertexRDD</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>&gt;&nbsp;vertices()</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../org/apache/spark/graphx/Graph.html#vertices()">Graph</a></code></strong></div>
<div class="block">An RDD containing the vertices and their associated attributes.
 <p></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/spark/graphx/Graph.html#vertices()">vertices</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>an RDD containing the vertices in this graph</dd></dl>
</li>
</ul>
<a name="replicatedVertexView()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>replicatedVertexView</h4>
<pre>public&nbsp;org.apache.spark.graphx.impl.ReplicatedVertexView&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;&nbsp;replicatedVertexView()</pre>
</li>
</ul>
<a name="edges()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>edges</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/spark/graphx/impl/EdgeRDDImpl.html" title="class in org.apache.spark.graphx.impl">EdgeRDDImpl</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>&gt;&nbsp;edges()</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../org/apache/spark/graphx/Graph.html#edges()">Graph</a></code></strong></div>
<div class="block">An RDD containing the edges and their associated attributes.  The entries in the RDD contain
 just the source id and target id along with the edge data.
 <p></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/spark/graphx/Graph.html#edges()">edges</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>an RDD containing the edges in this graph
 <p></dd><dt><span class="strong">See Also:</span></dt><dd><code>Edge} for the edge type.</code>, 
<code>Graph#triplets} to get an RDD which contains all the edges
 along with their vertex data.
 <p></code></dd></dl>
</li>
</ul>
<a name="triplets()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>triplets</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;<a href="../../../../../org/apache/spark/graphx/EdgeTriplet.html" title="class in org.apache.spark.graphx">EdgeTriplet</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;&gt;&nbsp;triplets()</pre>
<div class="block">Return a RDD that brings edges together with their source and destination vertices.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/spark/graphx/Graph.html#triplets()">triplets</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>an RDD containing edge triplets
 <p></dd></dl>
</li>
</ul>
<a name="persist(org.apache.spark.storage.StorageLevel)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>persist</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;&nbsp;persist(<a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a>&nbsp;newLevel)</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../org/apache/spark/graphx/Graph.html#persist(org.apache.spark.storage.StorageLevel)">Graph</a></code></strong></div>
<div class="block">Caches the vertices and edges associated with this graph at the specified storage level,
 ignoring any target storage levels previously set.
 <p></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/spark/graphx/Graph.html#persist(org.apache.spark.storage.StorageLevel)">persist</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>newLevel</code> - the level at which to cache the graph.
 <p></dd>
<dt><span class="strong">Returns:</span></dt><dd>A reference to this graph for convenience.</dd></dl>
</li>
</ul>
<a name="cache()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cache</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;&nbsp;cache()</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../org/apache/spark/graphx/Graph.html#cache()">Graph</a></code></strong></div>
<div class="block">Caches the vertices and edges associated with this graph at the previously-specified target
 storage levels, which default to <code>MEMORY_ONLY</code>. This is used to pin a graph in memory enabling
 multiple queries to reuse the same construction process.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/spark/graphx/Graph.html#cache()">cache</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="checkpoint()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>checkpoint</h4>
<pre>public&nbsp;void&nbsp;checkpoint()</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../org/apache/spark/graphx/Graph.html#checkpoint()">Graph</a></code></strong></div>
<div class="block">Mark this Graph for checkpointing. It will be saved to a file inside the checkpoint
 directory set with SparkContext.setCheckpointDir() and all references to its parent
 RDDs will be removed. It is strongly recommended that this Graph is persisted in
 memory, otherwise saving it on a file will require recomputation.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/spark/graphx/Graph.html#checkpoint()">checkpoint</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;</code></dd>
</dl>
</li>
</ul>
<a name="isCheckpointed()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isCheckpointed</h4>
<pre>public&nbsp;boolean&nbsp;isCheckpointed()</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../org/apache/spark/graphx/Graph.html#isCheckpointed()">Graph</a></code></strong></div>
<div class="block">Return whether this Graph has been checkpointed or not.
 This returns true iff both the vertices RDD and edges RDD have been checkpointed.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/spark/graphx/Graph.html#isCheckpointed()">isCheckpointed</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="getCheckpointFiles()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCheckpointFiles</h4>
<pre>public&nbsp;scala.collection.Seq&lt;java.lang.String&gt;&nbsp;getCheckpointFiles()</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../org/apache/spark/graphx/Graph.html#getCheckpointFiles()">Graph</a></code></strong></div>
<div class="block">Gets the name of the files to which this Graph was checkpointed.
 (The vertices RDD and edges RDD are checkpointed separately.)</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/spark/graphx/Graph.html#getCheckpointFiles()">getCheckpointFiles</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="unpersist(boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>unpersist</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;&nbsp;unpersist(boolean&nbsp;blocking)</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../org/apache/spark/graphx/Graph.html#unpersist(boolean)">Graph</a></code></strong></div>
<div class="block">Uncaches both vertices and edges of this graph. This is useful in iterative algorithms that
 build a new graph in each iteration.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/spark/graphx/Graph.html#unpersist(boolean)">unpersist</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>blocking</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="unpersistVertices(boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>unpersistVertices</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;&nbsp;unpersistVertices(boolean&nbsp;blocking)</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../org/apache/spark/graphx/Graph.html#unpersistVertices(boolean)">Graph</a></code></strong></div>
<div class="block">Uncaches only the vertices of this graph, leaving the edges alone. This is useful in iterative
 algorithms that modify the vertex attributes but reuse the edges. This method can be used to
 uncache the vertex attributes of previous iterations once they are no longer needed, improving
 GC performance.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/spark/graphx/Graph.html#unpersistVertices(boolean)">unpersistVertices</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>blocking</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="partitionBy(org.apache.spark.graphx.PartitionStrategy)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>partitionBy</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;&nbsp;partitionBy(<a href="../../../../../org/apache/spark/graphx/PartitionStrategy.html" title="interface in org.apache.spark.graphx">PartitionStrategy</a>&nbsp;partitionStrategy)</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../org/apache/spark/graphx/Graph.html#partitionBy(org.apache.spark.graphx.PartitionStrategy)">Graph</a></code></strong></div>
<div class="block">Repartitions the edges in the graph according to <code>partitionStrategy</code>.
 <p></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/spark/graphx/Graph.html#partitionBy(org.apache.spark.graphx.PartitionStrategy)">partitionBy</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>partitionStrategy</code> - the partitioning strategy to use when partitioning the edges
 in the graph.</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="partitionBy(org.apache.spark.graphx.PartitionStrategy, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>partitionBy</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;&nbsp;partitionBy(<a href="../../../../../org/apache/spark/graphx/PartitionStrategy.html" title="interface in org.apache.spark.graphx">PartitionStrategy</a>&nbsp;partitionStrategy,
                       int&nbsp;numPartitions)</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../org/apache/spark/graphx/Graph.html#partitionBy(org.apache.spark.graphx.PartitionStrategy, int)">Graph</a></code></strong></div>
<div class="block">Repartitions the edges in the graph according to <code>partitionStrategy</code>.
 <p></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/spark/graphx/Graph.html#partitionBy(org.apache.spark.graphx.PartitionStrategy, int)">partitionBy</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>partitionStrategy</code> - the partitioning strategy to use when partitioning the edges
 in the graph.</dd><dd><code>numPartitions</code> - the number of edge partitions in the new graph.</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="reverse()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reverse</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;&nbsp;reverse()</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../org/apache/spark/graphx/Graph.html#reverse()">Graph</a></code></strong></div>
<div class="block">Reverses all edges in the graph.  If this graph contains an edge from a to b then the returned
 graph contains an edge from b to a.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/spark/graphx/Graph.html#reverse()">reverse</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="mapVertices(scala.Function2, scala.reflect.ClassTag, scala.Predef.$eq$colon$eq)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mapVertices</h4>
<pre>public&nbsp;&lt;VD2&gt;&nbsp;<a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;VD2,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;&nbsp;mapVertices(scala.Function2&lt;java.lang.Object,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,VD2&gt;&nbsp;f,
                              scala.reflect.ClassTag&lt;VD2&gt;&nbsp;evidence$5,
                              scala.Predef.$eq$colon$eq&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,VD2&gt;&nbsp;eq)</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../org/apache/spark/graphx/Graph.html#mapVertices(scala.Function2, scala.reflect.ClassTag, scala.Predef.$eq$colon$eq)">Graph</a></code></strong></div>
<div class="block">Transforms each vertex attribute in the graph using the map function.
 <p></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/spark/graphx/Graph.html#mapVertices(scala.Function2, scala.reflect.ClassTag, scala.Predef.$eq$colon$eq)">mapVertices</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>f</code> - the function from a vertex object to a new vertex value
 <p></dd><dd><code>evidence$5</code> - (undocumented)</dd><dd><code>eq</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="mapEdges(scala.Function2, scala.reflect.ClassTag)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mapEdges</h4>
<pre>public&nbsp;&lt;ED2&gt;&nbsp;<a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,ED2&gt;&nbsp;mapEdges(scala.Function2&lt;java.lang.Object,scala.collection.Iterator&lt;<a href="../../../../../org/apache/spark/graphx/Edge.html" title="class in org.apache.spark.graphx">Edge</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;&gt;,scala.collection.Iterator&lt;ED2&gt;&gt;&nbsp;f,
                           scala.reflect.ClassTag&lt;ED2&gt;&nbsp;evidence$6)</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../org/apache/spark/graphx/Graph.html#mapEdges(scala.Function2, scala.reflect.ClassTag)">Graph</a></code></strong></div>
<div class="block">Transforms each edge attribute using the map function, passing it a whole partition at a
 time. The map function is given an iterator over edges within a logical partition as well as
 the partition's ID, and it should return a new iterator over the new values of each edge. The
 new iterator's elements must correspond one-to-one with the old iterator's elements. If
 adjacent vertex values are desired, use <code>mapTriplets</code>.
 <p></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/spark/graphx/Graph.html#mapEdges(scala.Function2, scala.reflect.ClassTag)">mapEdges</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>f</code> - a function that takes a partition id and an iterator
 over all the edges in the partition, and must return an iterator over
 the new values for each edge in the order of the input iterator
 <p></dd><dd><code>evidence$6</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="mapTriplets(scala.Function2, org.apache.spark.graphx.TripletFields, scala.reflect.ClassTag)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mapTriplets</h4>
<pre>public&nbsp;&lt;ED2&gt;&nbsp;<a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,ED2&gt;&nbsp;mapTriplets(scala.Function2&lt;java.lang.Object,scala.collection.Iterator&lt;<a href="../../../../../org/apache/spark/graphx/EdgeTriplet.html" title="class in org.apache.spark.graphx">EdgeTriplet</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;&gt;,scala.collection.Iterator&lt;ED2&gt;&gt;&nbsp;f,
                              <a href="../../../../../org/apache/spark/graphx/TripletFields.html" title="class in org.apache.spark.graphx">TripletFields</a>&nbsp;tripletFields,
                              scala.reflect.ClassTag&lt;ED2&gt;&nbsp;evidence$7)</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../org/apache/spark/graphx/Graph.html#mapTriplets(scala.Function2, org.apache.spark.graphx.TripletFields, scala.reflect.ClassTag)">Graph</a></code></strong></div>
<div class="block">Transforms each edge attribute a partition at a time using the map function, passing it the
 adjacent vertex attributes as well. The map function is given an iterator over edge triplets
 within a logical partition and should yield a new iterator over the new values of each edge in
 the order in which they are provided.  If adjacent vertex values are not required, consider
 using <code>mapEdges</code> instead.
 <p></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/spark/graphx/Graph.html#mapTriplets(scala.Function2, org.apache.spark.graphx.TripletFields, scala.reflect.ClassTag)">mapTriplets</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>f</code> - the iterator transform</dd><dd><code>tripletFields</code> - which fields should be included in the edge triplet passed to the map
   function. If not all fields are needed, specifying this can improve performance.
 <p></dd><dd><code>evidence$7</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="subgraph(scala.Function1, scala.Function2)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>subgraph</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;&nbsp;subgraph(scala.Function1&lt;<a href="../../../../../org/apache/spark/graphx/EdgeTriplet.html" title="class in org.apache.spark.graphx">EdgeTriplet</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;,java.lang.Object&gt;&nbsp;epred,
                    scala.Function2&lt;java.lang.Object,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,java.lang.Object&gt;&nbsp;vpred)</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../org/apache/spark/graphx/Graph.html#subgraph(scala.Function1, scala.Function2)">Graph</a></code></strong></div>
<div class="block">Restricts the graph to only the vertices and edges satisfying the predicates. The resulting
 subgraph satisifies
 <p>
 <pre><code>
 V' = {v : for all v in V where vpred(v)}
 E' = {(u,v): for all (u,v) in E where epred((u,v)) &amp;&amp; vpred(u) &amp;&amp; vpred(v)}
 </code></pre>
 <p></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/spark/graphx/Graph.html#subgraph(scala.Function1, scala.Function2)">subgraph</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>epred</code> - the edge predicate, which takes a triplet and
 evaluates to true if the edge is to remain in the subgraph.  Note
 that only edges where both vertices satisfy the vertex
 predicate are considered.
 <p></dd><dd><code>vpred</code> - the vertex predicate, which takes a vertex object and
 evaluates to true if the vertex is to be included in the subgraph
 <p></dd>
<dt><span class="strong">Returns:</span></dt><dd>the subgraph containing only the vertices and edges that
 satisfy the predicates</dd></dl>
</li>
</ul>
<a name="mask(org.apache.spark.graphx.Graph, scala.reflect.ClassTag, scala.reflect.ClassTag)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mask</h4>
<pre>public&nbsp;&lt;VD2,ED2&gt;&nbsp;<a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;&nbsp;mask(<a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;VD2,ED2&gt;&nbsp;other,
                          scala.reflect.ClassTag&lt;VD2&gt;&nbsp;evidence$8,
                          scala.reflect.ClassTag&lt;ED2&gt;&nbsp;evidence$9)</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../org/apache/spark/graphx/Graph.html#mask(org.apache.spark.graphx.Graph, scala.reflect.ClassTag, scala.reflect.ClassTag)">Graph</a></code></strong></div>
<div class="block">Restricts the graph to only the vertices and edges that are also in <code>other</code>, but keeps the
 attributes from this graph.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/spark/graphx/Graph.html#mask(org.apache.spark.graphx.Graph, scala.reflect.ClassTag, scala.reflect.ClassTag)">mask</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>other</code> - the graph to project this graph onto</dd><dd><code>evidence$8</code> - (undocumented)</dd><dd><code>evidence$9</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>a graph with vertices and edges that exist in both the current graph and <code>other</code>,
 with vertex and edge data from the current graph</dd></dl>
</li>
</ul>
<a name="groupEdges(scala.Function2)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>groupEdges</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;&nbsp;groupEdges(scala.Function2&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;&nbsp;merge)</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../org/apache/spark/graphx/Graph.html#groupEdges(scala.Function2)">Graph</a></code></strong></div>
<div class="block">Merges multiple edges between two vertices into a single edge. For correct results, the graph
 must have been partitioned using <code>partitionBy</code>.
 <p></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/spark/graphx/Graph.html#groupEdges(scala.Function2)">groupEdges</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>merge</code> - the user-supplied commutative associative function to merge edge attributes
              for duplicate edges.
 <p></dd>
<dt><span class="strong">Returns:</span></dt><dd>The resulting graph with a single edge for each (source, dest) vertex pair.</dd></dl>
</li>
</ul>
<a name="mapReduceTriplets(scala.Function1, scala.Function2, scala.Option, scala.reflect.ClassTag)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mapReduceTriplets</h4>
<pre>public&nbsp;&lt;A&gt;&nbsp;<a href="../../../../../org/apache/spark/graphx/VertexRDD.html" title="class in org.apache.spark.graphx">VertexRDD</a>&lt;A&gt;&nbsp;mapReduceTriplets(scala.Function1&lt;<a href="../../../../../org/apache/spark/graphx/EdgeTriplet.html" title="class in org.apache.spark.graphx">EdgeTriplet</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;,scala.collection.Iterator&lt;scala.Tuple2&lt;java.lang.Object,A&gt;&gt;&gt;&nbsp;mapFunc,
                                 scala.Function2&lt;A,A,A&gt;&nbsp;reduceFunc,
                                 scala.Option&lt;scala.Tuple2&lt;<a href="../../../../../org/apache/spark/graphx/VertexRDD.html" title="class in org.apache.spark.graphx">VertexRDD</a>&lt;?&gt;,<a href="../../../../../org/apache/spark/graphx/EdgeDirection.html" title="class in org.apache.spark.graphx">EdgeDirection</a>&gt;&gt;&nbsp;activeSetOpt,
                                 scala.reflect.ClassTag&lt;A&gt;&nbsp;evidence$10)</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../org/apache/spark/graphx/Graph.html#mapReduceTriplets(scala.Function1, scala.Function2, scala.Option, scala.reflect.ClassTag)">Graph</a></code></strong></div>
<div class="block">Aggregates values from the neighboring edges and vertices of each vertex.  The user supplied
 <code>mapFunc</code> function is invoked on each edge of the graph, generating 0 or more "messages" to be
 "sent" to either vertex in the edge.  The <code>reduceFunc</code> is then used to combine the output of
 the map phase destined to each vertex.
 <p>
 This function is deprecated in 1.2.0 because of SPARK-3936. Use aggregateMessages instead.
 <p></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/spark/graphx/Graph.html#mapReduceTriplets(scala.Function1, scala.Function2, scala.Option, scala.reflect.ClassTag)">mapReduceTriplets</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>mapFunc</code> - the user defined map function which returns 0 or
 more messages to neighboring vertices
 <p></dd><dd><code>reduceFunc</code> - the user defined reduce function which should
 be commutative and associative and is used to combine the output
 of the map phase
 <p></dd><dd><code>activeSetOpt</code> - an efficient way to run the aggregation on a subset of the edges if
 desired. This is done by specifying a set of "active" vertices and an edge direction. The
 <code>sendMsg</code> function will then run only on edges connected to active vertices by edges in the
 specified direction. If the direction is <code>In</code>, <code>sendMsg</code> will only be run on edges with
 destination in the active set. If the direction is <code>Out</code>, <code>sendMsg</code> will only be run on edges
 originating from vertices in the active set. If the direction is <code>Either</code>, <code>sendMsg</code> will be
 run on edges with *either* vertex in the active set. If the direction is <code>Both</code>, <code>sendMsg</code>
 will be run on edges with *both* vertices in the active set. The active set must have the
 same index as the graph's vertices.
 <p></dd><dd><code>evidence$10</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="aggregateMessagesWithActiveSet(scala.Function1, scala.Function2, org.apache.spark.graphx.TripletFields, scala.Option, scala.reflect.ClassTag)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>aggregateMessagesWithActiveSet</h4>
<pre>public&nbsp;&lt;A&gt;&nbsp;<a href="../../../../../org/apache/spark/graphx/VertexRDD.html" title="class in org.apache.spark.graphx">VertexRDD</a>&lt;A&gt;&nbsp;aggregateMessagesWithActiveSet(scala.Function1&lt;<a href="../../../../../org/apache/spark/graphx/EdgeContext.html" title="class in org.apache.spark.graphx">EdgeContext</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>,A&gt;,scala.runtime.BoxedUnit&gt;&nbsp;sendMsg,
                                              scala.Function2&lt;A,A,A&gt;&nbsp;mergeMsg,
                                              <a href="../../../../../org/apache/spark/graphx/TripletFields.html" title="class in org.apache.spark.graphx">TripletFields</a>&nbsp;tripletFields,
                                              scala.Option&lt;scala.Tuple2&lt;<a href="../../../../../org/apache/spark/graphx/VertexRDD.html" title="class in org.apache.spark.graphx">VertexRDD</a>&lt;?&gt;,<a href="../../../../../org/apache/spark/graphx/EdgeDirection.html" title="class in org.apache.spark.graphx">EdgeDirection</a>&gt;&gt;&nbsp;activeSetOpt,
                                              scala.reflect.ClassTag&lt;A&gt;&nbsp;evidence$11)</pre>
</li>
</ul>
<a name="outerJoinVertices(org.apache.spark.rdd.RDD, scala.Function3, scala.reflect.ClassTag, scala.reflect.ClassTag, scala.Predef.$eq$colon$eq)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>outerJoinVertices</h4>
<pre>public&nbsp;&lt;U,VD2&gt;&nbsp;<a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;VD2,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;&nbsp;outerJoinVertices(<a href="../../../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;scala.Tuple2&lt;java.lang.Object,U&gt;&gt;&nbsp;other,
                                      scala.Function3&lt;java.lang.Object,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,scala.Option&lt;U&gt;,VD2&gt;&nbsp;updateF,
                                      scala.reflect.ClassTag&lt;U&gt;&nbsp;evidence$12,
                                      scala.reflect.ClassTag&lt;VD2&gt;&nbsp;evidence$13,
                                      scala.Predef.$eq$colon$eq&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,VD2&gt;&nbsp;eq)</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../org/apache/spark/graphx/Graph.html#outerJoinVertices(org.apache.spark.rdd.RDD, scala.Function3, scala.reflect.ClassTag, scala.reflect.ClassTag, scala.Predef.$eq$colon$eq)">Graph</a></code></strong></div>
<div class="block">Joins the vertices with entries in the <code>table</code> RDD and merges the results using <code>mapFunc</code>.
 The input table should contain at most one entry for each vertex.  If no entry in <code>other</code> is
 provided for a particular vertex in the graph, the map function receives <code>None</code>.
 <p></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/spark/graphx/Graph.html#outerJoinVertices(org.apache.spark.rdd.RDD, scala.Function3, scala.reflect.ClassTag, scala.reflect.ClassTag, scala.Predef.$eq$colon$eq)">outerJoinVertices</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/spark/graphx/Graph.html" title="class in org.apache.spark.graphx">Graph</a>&lt;<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">VD</a>,<a href="../../../../../org/apache/spark/graphx/impl/GraphImpl.html" title="type parameter in GraphImpl">ED</a>&gt;</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>other</code> - the table to join with the vertices in the graph.
              The table should contain at most one entry for each vertex.</dd><dd><code>updateF</code> - the function used to compute the new vertex values.
                The map function is invoked for all vertices, even those
                that do not have a corresponding entry in the table.
 <p></dd><dd><code>evidence$12</code> - (undocumented)</dd><dd><code>evidence$13</code> - (undocumented)</dd><dd><code>eq</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!--   -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/spark/graphx/impl/EdgeRDDImpl.html" title="class in org.apache.spark.graphx.impl"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../../org/apache/spark/graphx/impl/VertexRDDImpl.html" title="class in org.apache.spark.graphx.impl"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/spark/graphx/impl/GraphImpl.html" target="_top">Frames</a></li>
<li><a href="GraphImpl.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<script defer="defer" type="text/javascript" src="../../../../../lib/jquery.js"></script><script defer="defer" type="text/javascript" src="../../../../../lib/api-javadocs.js"></script></body>
</html>