summaryrefslogtreecommitdiff
path: root/site/docs/1.5.0/api/java/org/apache/spark/SparkContext.html
blob: ca6320f4ffd508e86fc31c2ebe6f4ae53175679c (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
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
<!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 10:26:34 PDT 2015 -->
<title>SparkContext</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="SparkContext";
    }
//-->
</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/SparkConf.html" title="class in org.apache.spark"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../org/apache/spark/SparkContext.DoubleAccumulatorParam$.html" title="class in org.apache.spark"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?org/apache/spark/SparkContext.html" target="_top">Frames</a></li>
<li><a href="SparkContext.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><a href="#nested_class_summary">Nested</a>&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</div>
<h2 title="Class SparkContext" class="title">Class SparkContext</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>org.apache.spark.SparkContext</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../org/apache/spark/Logging.html" title="interface in org.apache.spark">Logging</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="strong">SparkContext</span>
extends java.lang.Object
implements <a href="../../../org/apache/spark/Logging.html" title="interface in org.apache.spark">Logging</a></pre>
<div class="block">Main entry point for Spark functionality. A SparkContext represents the connection to a Spark
 cluster, and can be used to create RDDs, accumulators and broadcast variables on that cluster.
 <p>
 Only one SparkContext may be active per JVM.  You must <code>stop()</code> the active SparkContext before
 creating a new one.  This limitation may eventually be removed; see SPARK-2243 for more details.
 <p>
 param:  config a Spark Config object describing the application configuration. Any settings in
   this config overrides the default configs as well as system properties.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested_class_summary">
<!--   -->
</a>
<h3>Nested Class Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.DoubleAccumulatorParam$.html" title="class in org.apache.spark">SparkContext.DoubleAccumulatorParam$</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.FloatAccumulatorParam$.html" title="class in org.apache.spark">SparkContext.FloatAccumulatorParam$</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.IntAccumulatorParam$.html" title="class in org.apache.spark">SparkContext.IntAccumulatorParam$</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.LongAccumulatorParam$.html" title="class in org.apache.spark">SparkContext.LongAccumulatorParam$</a></strong></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== 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="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../org/apache/spark/SparkContext.html#SparkContext()">SparkContext</a></strong>()</code>
<div class="block">Create a SparkContext that loads settings from system properties (for instance, when
 launching with ./bin/spark-submit).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../../org/apache/spark/SparkContext.html#SparkContext(org.apache.spark.SparkConf)">SparkContext</a></strong>(<a href="../../../org/apache/spark/SparkConf.html" title="class in org.apache.spark">SparkConf</a>&nbsp;config)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../org/apache/spark/SparkContext.html#SparkContext(org.apache.spark.SparkConf, scala.collection.Map)">SparkContext</a></strong>(<a href="../../../org/apache/spark/SparkConf.html" title="class in org.apache.spark">SparkConf</a>&nbsp;config,
            scala.collection.Map&lt;java.lang.String,scala.collection.Set&lt;<a href="../../../org/apache/spark/scheduler/SplitInfo.html" title="class in org.apache.spark.scheduler">SplitInfo</a>&gt;&gt;&nbsp;preferredNodeLocationData)</code>
<div class="block">:: DeveloperApi ::
 Alternative constructor for setting preferred locations where Spark will create executors.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../../org/apache/spark/SparkContext.html#SparkContext(java.lang.String, java.lang.String, org.apache.spark.SparkConf)">SparkContext</a></strong>(java.lang.String&nbsp;master,
            java.lang.String&nbsp;appName,
            <a href="../../../org/apache/spark/SparkConf.html" title="class in org.apache.spark">SparkConf</a>&nbsp;conf)</code>
<div class="block">Alternative constructor that allows setting common Spark properties directly</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../org/apache/spark/SparkContext.html#SparkContext(java.lang.String, java.lang.String, java.lang.String, scala.collection.Seq, scala.collection.Map, scala.collection.Map)">SparkContext</a></strong>(java.lang.String&nbsp;master,
            java.lang.String&nbsp;appName,
            java.lang.String&nbsp;sparkHome,
            scala.collection.Seq&lt;java.lang.String&gt;&nbsp;jars,
            scala.collection.Map&lt;java.lang.String,java.lang.String&gt;&nbsp;environment,
            scala.collection.Map&lt;java.lang.String,scala.collection.Set&lt;<a href="../../../org/apache/spark/scheduler/SplitInfo.html" title="class in org.apache.spark.scheduler">SplitInfo</a>&gt;&gt;&nbsp;preferredNodeLocationData)</code>
<div class="block">Alternative constructor that allows setting common Spark properties directly</div>
</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;R,T&gt;&nbsp;<a href="../../../org/apache/spark/Accumulable.html" title="class in org.apache.spark">Accumulable</a>&lt;R,T&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#accumulable(R, org.apache.spark.AccumulableParam)">accumulable</a></strong>(R&nbsp;initialValue,
           <a href="../../../org/apache/spark/AccumulableParam.html" title="interface in org.apache.spark">AccumulableParam</a>&lt;R,T&gt;&nbsp;param)</code>
<div class="block">Create an <a href="../../../org/apache/spark/Accumulable.html" title="class in org.apache.spark"><code>Accumulable</code></a> shared variable, to which tasks can add values
 with <code>+=</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&lt;R,T&gt;&nbsp;<a href="../../../org/apache/spark/Accumulable.html" title="class in org.apache.spark">Accumulable</a>&lt;R,T&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#accumulable(R, java.lang.String, org.apache.spark.AccumulableParam)">accumulable</a></strong>(R&nbsp;initialValue,
           java.lang.String&nbsp;name,
           <a href="../../../org/apache/spark/AccumulableParam.html" title="interface in org.apache.spark">AccumulableParam</a>&lt;R,T&gt;&nbsp;param)</code>
<div class="block">Create an <a href="../../../org/apache/spark/Accumulable.html" title="class in org.apache.spark"><code>Accumulable</code></a> shared variable, with a name for display in the
 Spark UI.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&lt;R,T&gt;&nbsp;<a href="../../../org/apache/spark/Accumulable.html" title="class in org.apache.spark">Accumulable</a>&lt;R,T&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#accumulableCollection(R, scala.Function1, scala.reflect.ClassTag)">accumulableCollection</a></strong>(R&nbsp;initialValue,
                     scala.Function1&lt;R,scala.collection.generic.Growable&lt;T&gt;&gt;&nbsp;evidence$9,
                     scala.reflect.ClassTag&lt;R&gt;&nbsp;evidence$10)</code>
<div class="block">Create an accumulator from a "mutable collection" type.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="../../../org/apache/spark/Accumulator.html" title="class in org.apache.spark">Accumulator</a>&lt;T&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#accumulator(T, org.apache.spark.AccumulatorParam)">accumulator</a></strong>(T&nbsp;initialValue,
           <a href="../../../org/apache/spark/AccumulatorParam.html" title="interface in org.apache.spark">AccumulatorParam</a>&lt;T&gt;&nbsp;param)</code>
<div class="block">Create an <a href="../../../org/apache/spark/Accumulator.html" title="class in org.apache.spark"><code>Accumulator</code></a> variable of a given type, which tasks can "add"
 values to using the <code>+=</code> method.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="../../../org/apache/spark/Accumulator.html" title="class in org.apache.spark">Accumulator</a>&lt;T&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#accumulator(T, java.lang.String, org.apache.spark.AccumulatorParam)">accumulator</a></strong>(T&nbsp;initialValue,
           java.lang.String&nbsp;name,
           <a href="../../../org/apache/spark/AccumulatorParam.html" title="interface in org.apache.spark">AccumulatorParam</a>&lt;T&gt;&nbsp;param)</code>
<div class="block">Create an <a href="../../../org/apache/spark/Accumulator.html" title="class in org.apache.spark"><code>Accumulator</code></a> variable of a given type, with a name for display
 in the Spark UI.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>scala.collection.mutable.HashMap&lt;java.lang.String,java.lang.Object&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#addedFiles()">addedFiles</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>scala.collection.mutable.HashMap&lt;java.lang.String,java.lang.Object&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#addedJars()">addedJars</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#addFile(java.lang.String)">addFile</a></strong>(java.lang.String&nbsp;path)</code>
<div class="block">Add a file to be downloaded with this Spark job on every node.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#addFile(java.lang.String, boolean)">addFile</a></strong>(java.lang.String&nbsp;path,
       boolean&nbsp;recursive)</code>
<div class="block">Add a file to be downloaded with this Spark job on every node.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#addJar(java.lang.String)">addJar</a></strong>(java.lang.String&nbsp;path)</code>
<div class="block">Adds a JAR dependency for all tasks to be executed on this SparkContext in the future.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#addSparkListener(org.apache.spark.scheduler.SparkListener)">addSparkListener</a></strong>(<a href="../../../org/apache/spark/scheduler/SparkListener.html" title="interface in org.apache.spark.scheduler">SparkListener</a>&nbsp;listener)</code>
<div class="block">:: DeveloperApi ::
 Register a listener to receive up-calls from events that happen during execution.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>scala.Option&lt;java.lang.String&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#applicationAttemptId()">applicationAttemptId</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#applicationId()">applicationId</a></strong>()</code>
<div class="block">A unique identifier for the Spark application.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#appName()">appName</a></strong>()</code>&nbsp;</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;scala.Tuple2&lt;java.lang.String,<a href="../../../org/apache/spark/input/PortableDataStream.html" title="class in org.apache.spark.input">PortableDataStream</a>&gt;&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#binaryFiles(java.lang.String, int)">binaryFiles</a></strong>(java.lang.String&nbsp;path,
           int&nbsp;minPartitions)</code>
<div class="block">:: Experimental ::</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;byte[]&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#binaryRecords(java.lang.String, int, org.apache.hadoop.conf.Configuration)">binaryRecords</a></strong>(java.lang.String&nbsp;path,
             int&nbsp;recordLength,
             org.apache.hadoop.conf.Configuration&nbsp;conf)</code>
<div class="block">:: Experimental ::</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static org.apache.spark.WritableConverter&lt;java.lang.Object&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#booleanWritableConverter()">booleanWritableConverter</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static org.apache.hadoop.io.BooleanWritable</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#boolToBoolWritable(boolean)">boolToBoolWritable</a></strong>(boolean&nbsp;b)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="../../../org/apache/spark/broadcast/Broadcast.html" title="class in org.apache.spark.broadcast">Broadcast</a>&lt;T&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#broadcast(T, scala.reflect.ClassTag)">broadcast</a></strong>(T&nbsp;value,
         scala.reflect.ClassTag&lt;T&gt;&nbsp;evidence$11)</code>
<div class="block">Broadcast a read-only variable to the cluster, returning a
 <a href="../../../org/apache/spark/broadcast/Broadcast.html" title="class in org.apache.spark.broadcast"><code>Broadcast</code></a> object for reading it in distributed functions.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static org.apache.hadoop.io.BytesWritable</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#bytesToBytesWritable(byte[])">bytesToBytesWritable</a></strong>(byte[]&nbsp;aob)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static org.apache.spark.WritableConverter&lt;byte[]&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#bytesWritableConverter()">bytesWritableConverter</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#cancelAllJobs()">cancelAllJobs</a></strong>()</code>
<div class="block">Cancel all jobs that have been scheduled or are running.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#cancelJobGroup(java.lang.String)">cancelJobGroup</a></strong>(java.lang.String&nbsp;groupId)</code>
<div class="block">Cancel active jobs for the specified group.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>scala.Option&lt;java.lang.String&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#checkpointDir()">checkpointDir</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected &lt;T&gt;&nbsp;<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;T&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#checkpointFile(java.lang.String, scala.reflect.ClassTag)">checkpointFile</a></strong>(java.lang.String&nbsp;path,
              scala.reflect.ClassTag&lt;T&gt;&nbsp;evidence$5)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#clearCallSite()">clearCallSite</a></strong>()</code>
<div class="block">Clear the thread-local property for overriding the call sites
 of actions and RDDs.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#clearFiles()">clearFiles</a></strong>()</code>
<div class="block">Clear the job's list of files added by <code>addFile</code> so that they do not get downloaded to
 any new nodes.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#clearJars()">clearJars</a></strong>()</code>
<div class="block">Clear the job's list of JARs added by <code>addJar</code> so that they do not get downloaded to
 any new nodes.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#clearJobGroup()">clearJobGroup</a></strong>()</code>
<div class="block">Clear the current thread's job group ID and its description.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#defaultMinPartitions()">defaultMinPartitions</a></strong>()</code>
<div class="block">Default min number of partitions for Hadoop RDDs when not given by user
 Notice that we use math.min so the "defaultMinPartitions" cannot be higher than 2.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#defaultMinSplits()">defaultMinSplits</a></strong>()</code>
<div class="block">Default min number of partitions for Hadoop RDDs when not given by user</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#defaultParallelism()">defaultParallelism</a></strong>()</code>
<div class="block">Default level of parallelism to use when not given by user (e.g.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../org/apache/spark/rdd/DoubleRDDFunctions.html" title="class in org.apache.spark.rdd">DoubleRDDFunctions</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#doubleRDDToDoubleRDDFunctions(org.apache.spark.rdd.RDD)">doubleRDDToDoubleRDDFunctions</a></strong>(<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;java.lang.Object&gt;&nbsp;rdd)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static org.apache.hadoop.io.DoubleWritable</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#doubleToDoubleWritable(double)">doubleToDoubleWritable</a></strong>(double&nbsp;d)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static org.apache.spark.WritableConverter&lt;java.lang.Object&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#doubleWritableConverter()">doubleWritableConverter</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#DRIVER_IDENTIFIER()">DRIVER_IDENTIFIER</a></strong>()</code>
<div class="block">Executor id for the driver.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<any></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#emptyRDD(scala.reflect.ClassTag)">emptyRDD</a></strong>(scala.reflect.ClassTag&lt;T&gt;&nbsp;evidence$8)</code>
<div class="block">Get an RDD that has no partitions or elements.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>scala.collection.mutable.HashMap&lt;java.lang.String,java.lang.String&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#executorEnvs()">executorEnvs</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#externalBlockStoreFolderName()">externalBlockStoreFolderName</a></strong>()</code>&nbsp;</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/SparkContext.html#files()">files</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static org.apache.hadoop.io.FloatWritable</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#floatToFloatWritable(float)">floatToFloatWritable</a></strong>(float&nbsp;f)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static org.apache.spark.WritableConverter&lt;java.lang.Object&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#floatWritableConverter()">floatWritableConverter</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>scala.collection.Seq&lt;org.apache.spark.scheduler.Schedulable&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#getAllPools()">getAllPools</a></strong>()</code>
<div class="block">:: DeveloperApi ::
 Return pools for fair scheduler</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>scala.Option&lt;java.lang.String&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#getCheckpointDir()">getCheckpointDir</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../org/apache/spark/SparkConf.html" title="class in org.apache.spark">SparkConf</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#getConf()">getConf</a></strong>()</code>
<div class="block">Return a copy of this SparkContext's configuration.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>scala.collection.Map&lt;java.lang.String,scala.Tuple2&lt;java.lang.Object,java.lang.Object&gt;&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#getExecutorMemoryStatus()">getExecutorMemoryStatus</a></strong>()</code>
<div class="block">Return a map from the slave to the max memory available for caching and the remaining
 memory available for caching.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../org/apache/spark/storage/StorageStatus.html" title="class in org.apache.spark.storage">StorageStatus</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#getExecutorStorageStatus()">getExecutorStorageStatus</a></strong>()</code>
<div class="block">:: DeveloperApi ::
 Return information about blocks stored in all of the slaves</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#getLocalProperty(java.lang.String)">getLocalProperty</a></strong>(java.lang.String&nbsp;key)</code>
<div class="block">Get a local property set in this thread, or null if it is missing.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../org/apache/spark/SparkContext.html" title="class in org.apache.spark">SparkContext</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#getOrCreate()">getOrCreate</a></strong>()</code>
<div class="block">This function may be used to get or instantiate a SparkContext and register it as a
 singleton object.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../org/apache/spark/SparkContext.html" title="class in org.apache.spark">SparkContext</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#getOrCreate(org.apache.spark.SparkConf)">getOrCreate</a></strong>(<a href="../../../org/apache/spark/SparkConf.html" title="class in org.apache.spark">SparkConf</a>&nbsp;config)</code>
<div class="block">This function may be used to get or instantiate a SparkContext and register it as a
 singleton object.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>scala.collection.Map&lt;java.lang.Object,<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;?&gt;&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#getPersistentRDDs()">getPersistentRDDs</a></strong>()</code>
<div class="block">Returns an immutable map of RDDs that have marked themselves as persistent via cache() call.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>scala.Option&lt;org.apache.spark.scheduler.Schedulable&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#getPoolForName(java.lang.String)">getPoolForName</a></strong>(java.lang.String&nbsp;pool)</code>
<div class="block">:: DeveloperApi ::
 Return the pool associated with the given name, if one exists</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../org/apache/spark/storage/RDDInfo.html" title="class in org.apache.spark.storage">RDDInfo</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#getRDDStorageInfo()">getRDDStorageInfo</a></strong>()</code>
<div class="block">:: DeveloperApi ::
 Return information about what RDDs are cached, if they are in mem or on disk, how much space
 they take, etc.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>scala.Enumeration.Value</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#getSchedulingMode()">getSchedulingMode</a></strong>()</code>
<div class="block">Return current scheduling mode</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>org.apache.hadoop.conf.Configuration</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#hadoopConfiguration()">hadoopConfiguration</a></strong>()</code>
<div class="block">A default Hadoop Configuration for the Hadoop code (e.g.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&lt;K,V&gt;&nbsp;<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;scala.Tuple2&lt;K,V&gt;&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#hadoopFile(java.lang.String, java.lang.Class, java.lang.Class, java.lang.Class, int)">hadoopFile</a></strong>(java.lang.String&nbsp;path,
          java.lang.Class&lt;? extends org.apache.hadoop.mapred.InputFormat&lt;K,V&gt;&gt;&nbsp;inputFormatClass,
          java.lang.Class&lt;K&gt;&nbsp;keyClass,
          java.lang.Class&lt;V&gt;&nbsp;valueClass,
          int&nbsp;minPartitions)</code>
<div class="block">Get an RDD for a Hadoop file with an arbitrary InputFormat</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&lt;K,V,F extends org.apache.hadoop.mapred.InputFormat&lt;K,V&gt;&gt;&nbsp;<br><a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;scala.Tuple2&lt;K,V&gt;&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#hadoopFile(java.lang.String, scala.reflect.ClassTag, scala.reflect.ClassTag, scala.reflect.ClassTag)">hadoopFile</a></strong>(java.lang.String&nbsp;path,
          scala.reflect.ClassTag&lt;K&gt;&nbsp;km,
          scala.reflect.ClassTag&lt;V&gt;&nbsp;vm,
          scala.reflect.ClassTag&lt;F&gt;&nbsp;fm)</code>
<div class="block">Smarter version of hadoopFile() that uses class tags to figure out the classes of keys,
 values and the InputFormat so that users don't need to pass them directly.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&lt;K,V,F extends org.apache.hadoop.mapred.InputFormat&lt;K,V&gt;&gt;&nbsp;<br><a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;scala.Tuple2&lt;K,V&gt;&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#hadoopFile(java.lang.String, int, scala.reflect.ClassTag, scala.reflect.ClassTag, scala.reflect.ClassTag)">hadoopFile</a></strong>(java.lang.String&nbsp;path,
          int&nbsp;minPartitions,
          scala.reflect.ClassTag&lt;K&gt;&nbsp;km,
          scala.reflect.ClassTag&lt;V&gt;&nbsp;vm,
          scala.reflect.ClassTag&lt;F&gt;&nbsp;fm)</code>
<div class="block">Smarter version of hadoopFile() that uses class tags to figure out the classes of keys,
 values and the InputFormat so that users don't need to pass them directly.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&lt;K,V&gt;&nbsp;<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;scala.Tuple2&lt;K,V&gt;&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#hadoopRDD(org.apache.hadoop.mapred.JobConf, java.lang.Class, java.lang.Class, java.lang.Class, int)">hadoopRDD</a></strong>(org.apache.hadoop.mapred.JobConf&nbsp;conf,
         java.lang.Class&lt;? extends org.apache.hadoop.mapred.InputFormat&lt;K,V&gt;&gt;&nbsp;inputFormatClass,
         java.lang.Class&lt;K&gt;&nbsp;keyClass,
         java.lang.Class&lt;V&gt;&nbsp;valueClass,
         int&nbsp;minPartitions)</code>
<div class="block">Get an RDD for a Hadoop-readable dataset from a Hadoop JobConf given its InputFormat and other
 necessary info (e.g.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#initLocalProperties()">initLocalProperties</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static org.apache.hadoop.io.IntWritable</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#intToIntWritable(int)">intToIntWritable</a></strong>(int&nbsp;i)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static org.apache.spark.WritableConverter&lt;java.lang.Object&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#intWritableConverter()">intWritableConverter</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#isLocal()">isLocal</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static scala.Option&lt;java.lang.String&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#jarOfClass(java.lang.Class)">jarOfClass</a></strong>(java.lang.Class&lt;?&gt;&nbsp;cls)</code>
<div class="block">Find the JAR from which a given class was loaded, to make it easy for users to pass
 their JARs to SparkContext.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static scala.Option&lt;java.lang.String&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#jarOfObject(java.lang.Object)">jarOfObject</a></strong>(java.lang.Object&nbsp;obj)</code>
<div class="block">Find the JAR that contains the class of a particular object, to make it easy for users
 to pass their JARs to SparkContext.</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/SparkContext.html#jars()">jars</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#killExecutor(java.lang.String)">killExecutor</a></strong>(java.lang.String&nbsp;executorId)</code>
<div class="block">:: DeveloperApi ::
 Request that the cluster manager kill the specified executor.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#killExecutors(scala.collection.Seq)">killExecutors</a></strong>(scala.collection.Seq&lt;java.lang.String&gt;&nbsp;executorIds)</code>
<div class="block">:: DeveloperApi ::
 Request that the cluster manager kill the specified executors.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#LEGACY_DRIVER_IDENTIFIER()">LEGACY_DRIVER_IDENTIFIER</a></strong>()</code>
<div class="block">Legacy version of DRIVER_IDENTIFIER, retained for backwards-compatibility.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>org.apache.spark.scheduler.LiveListenerBus</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#listenerBus()">listenerBus</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected java.lang.InheritableThreadLocal&lt;java.util.Properties&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#localProperties()">localProperties</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static org.apache.hadoop.io.LongWritable</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#longToLongWritable(long)">longToLongWritable</a></strong>(long&nbsp;l)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static org.apache.spark.WritableConverter&lt;java.lang.Object&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#longWritableConverter()">longWritableConverter</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;T&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#makeRDD(scala.collection.Seq, int, scala.reflect.ClassTag)">makeRDD</a></strong>(scala.collection.Seq&lt;T&gt;&nbsp;seq,
       int&nbsp;numSlices,
       scala.reflect.ClassTag&lt;T&gt;&nbsp;evidence$2)</code>
<div class="block">Distribute a local Scala collection to form an RDD.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;T&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#makeRDD(scala.collection.Seq, scala.reflect.ClassTag)">makeRDD</a></strong>(scala.collection.Seq&lt;scala.Tuple2&lt;T,scala.collection.Seq&lt;java.lang.String&gt;&gt;&gt;&nbsp;seq,
       scala.reflect.ClassTag&lt;T&gt;&nbsp;evidence$3)</code>
<div class="block">Distribute a local Scala collection to form an RDD, with one or more
 location preferences (hostnames of Spark nodes) for each object.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#master()">master</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>org.apache.spark.metrics.MetricsSystem</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#metricsSystem()">metricsSystem</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&lt;K,V,F extends org.apache.hadoop.mapreduce.InputFormat&lt;K,V&gt;&gt;&nbsp;<br><a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;scala.Tuple2&lt;K,V&gt;&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#newAPIHadoopFile(java.lang.String, java.lang.Class, java.lang.Class, java.lang.Class, org.apache.hadoop.conf.Configuration)">newAPIHadoopFile</a></strong>(java.lang.String&nbsp;path,
                java.lang.Class&lt;F&gt;&nbsp;fClass,
                java.lang.Class&lt;K&gt;&nbsp;kClass,
                java.lang.Class&lt;V&gt;&nbsp;vClass,
                org.apache.hadoop.conf.Configuration&nbsp;conf)</code>
<div class="block">Get an RDD for a given Hadoop file with an arbitrary new API InputFormat
 and extra configuration options to pass to the input format.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&lt;K,V,F extends org.apache.hadoop.mapreduce.InputFormat&lt;K,V&gt;&gt;&nbsp;<br><a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;scala.Tuple2&lt;K,V&gt;&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#newAPIHadoopFile(java.lang.String, scala.reflect.ClassTag, scala.reflect.ClassTag, scala.reflect.ClassTag)">newAPIHadoopFile</a></strong>(java.lang.String&nbsp;path,
                scala.reflect.ClassTag&lt;K&gt;&nbsp;km,
                scala.reflect.ClassTag&lt;V&gt;&nbsp;vm,
                scala.reflect.ClassTag&lt;F&gt;&nbsp;fm)</code>
<div class="block">Get an RDD for a Hadoop file with an arbitrary new API InputFormat.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&lt;K,V,F extends org.apache.hadoop.mapreduce.InputFormat&lt;K,V&gt;&gt;&nbsp;<br><a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;scala.Tuple2&lt;K,V&gt;&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#newAPIHadoopRDD(org.apache.hadoop.conf.Configuration, java.lang.Class, java.lang.Class, java.lang.Class)">newAPIHadoopRDD</a></strong>(org.apache.hadoop.conf.Configuration&nbsp;conf,
               java.lang.Class&lt;F&gt;&nbsp;fClass,
               java.lang.Class&lt;K&gt;&nbsp;kClass,
               java.lang.Class&lt;V&gt;&nbsp;vClass)</code>
<div class="block">Get an RDD for a given Hadoop file with an arbitrary new API InputFormat
 and extra configuration options to pass to the input format.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="../../../org/apache/spark/rdd/DoubleRDDFunctions.html" title="class in org.apache.spark.rdd">DoubleRDDFunctions</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#numericRDDToDoubleRDDFunctions(org.apache.spark.rdd.RDD, scala.math.Numeric)">numericRDDToDoubleRDDFunctions</a></strong>(<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;T&gt;&nbsp;rdd,
                              scala.math.Numeric&lt;T&gt;&nbsp;num)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;T&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#objectFile(java.lang.String, int, scala.reflect.ClassTag)">objectFile</a></strong>(java.lang.String&nbsp;path,
          int&nbsp;minPartitions,
          scala.reflect.ClassTag&lt;T&gt;&nbsp;evidence$4)</code>
<div class="block">Load an RDD saved as a SequenceFile containing serialized objects, with NullWritable keys and
 BytesWritable values that contain a serialized partition.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;T&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#parallelize(scala.collection.Seq, int, scala.reflect.ClassTag)">parallelize</a></strong>(scala.collection.Seq&lt;T&gt;&nbsp;seq,
           int&nbsp;numSlices,
           scala.reflect.ClassTag&lt;T&gt;&nbsp;evidence$1)</code>
<div class="block">Distribute a local Scala collection to form an RDD.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><any></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#persistentRdds()">persistentRdds</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>scala.collection.Map&lt;java.lang.String,scala.collection.Set&lt;<a href="../../../org/apache/spark/scheduler/SplitInfo.html" title="class in org.apache.spark.scheduler">SplitInfo</a>&gt;&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#preferredNodeLocationData()">preferredNodeLocationData</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;java.lang.Object&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#range(long, long, long, int)">range</a></strong>(long&nbsp;start,
     long&nbsp;end,
     long&nbsp;step,
     int&nbsp;numSlices)</code>
<div class="block">Creates a new RDD[Long] containing elements from <code>start</code> to <code>end</code>(exclusive), increased by
 <code>step</code> every element.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#RDD_SCOPE_KEY()">RDD_SCOPE_KEY</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#RDD_SCOPE_NO_OVERRIDE_KEY()">RDD_SCOPE_NO_OVERRIDE_KEY</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="../../../org/apache/spark/rdd/AsyncRDDActions.html" title="class in org.apache.spark.rdd">AsyncRDDActions</a>&lt;T&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#rddToAsyncRDDActions(org.apache.spark.rdd.RDD, scala.reflect.ClassTag)">rddToAsyncRDDActions</a></strong>(<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;T&gt;&nbsp;rdd,
                    scala.reflect.ClassTag&lt;T&gt;&nbsp;evidence$22)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static &lt;K,V&gt;&nbsp;<a href="../../../org/apache/spark/rdd/OrderedRDDFunctions.html" title="class in org.apache.spark.rdd">OrderedRDDFunctions</a>&lt;K,V,scala.Tuple2&lt;K,V&gt;&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#rddToOrderedRDDFunctions(org.apache.spark.rdd.RDD, scala.math.Ordering, scala.reflect.ClassTag, scala.reflect.ClassTag)">rddToOrderedRDDFunctions</a></strong>(<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;scala.Tuple2&lt;K,V&gt;&gt;&nbsp;rdd,
                        scala.math.Ordering&lt;K&gt;&nbsp;evidence$27,
                        scala.reflect.ClassTag&lt;K&gt;&nbsp;evidence$28,
                        scala.reflect.ClassTag&lt;V&gt;&nbsp;evidence$29)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static &lt;K,V&gt;&nbsp;<a href="../../../org/apache/spark/rdd/PairRDDFunctions.html" title="class in org.apache.spark.rdd">PairRDDFunctions</a>&lt;K,V&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#rddToPairRDDFunctions(org.apache.spark.rdd.RDD, scala.reflect.ClassTag, scala.reflect.ClassTag, scala.math.Ordering)">rddToPairRDDFunctions</a></strong>(<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;scala.Tuple2&lt;K,V&gt;&gt;&nbsp;rdd,
                     scala.reflect.ClassTag&lt;K&gt;&nbsp;kt,
                     scala.reflect.ClassTag&lt;V&gt;&nbsp;vt,
                     scala.math.Ordering&lt;K&gt;&nbsp;ord)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static &lt;K,V&gt;&nbsp;<a href="../../../org/apache/spark/rdd/SequenceFileRDDFunctions.html" title="class in org.apache.spark.rdd">SequenceFileRDDFunctions</a>&lt;K,V&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#rddToSequenceFileRDDFunctions(org.apache.spark.rdd.RDD, scala.Function1, scala.reflect.ClassTag, scala.Function1, scala.reflect.ClassTag)">rddToSequenceFileRDDFunctions</a></strong>(<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;scala.Tuple2&lt;K,V&gt;&gt;&nbsp;rdd,
                             scala.Function1&lt;K,org.apache.hadoop.io.Writable&gt;&nbsp;evidence$23,
                             scala.reflect.ClassTag&lt;K&gt;&nbsp;evidence$24,
                             scala.Function1&lt;V,org.apache.hadoop.io.Writable&gt;&nbsp;evidence$25,
                             scala.reflect.ClassTag&lt;V&gt;&nbsp;evidence$26)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#requestExecutors(int)">requestExecutors</a></strong>(int&nbsp;numAdditionalExecutors)</code>
<div class="block">:: DeveloperApi ::
 Request an additional number of executors from the cluster manager.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&lt;T,U,R&gt;&nbsp;<a href="../../../org/apache/spark/partial/PartialResult.html" title="class in org.apache.spark.partial">PartialResult</a>&lt;R&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#runApproximateJob(org.apache.spark.rdd.RDD, scala.Function2, , long)">runApproximateJob</a></strong>(<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;T&gt;&nbsp;rdd,
                 scala.Function2&lt;<a href="../../../org/apache/spark/TaskContext.html" title="class in org.apache.spark">TaskContext</a>,scala.collection.Iterator&lt;T&gt;,U&gt;&nbsp;func,
                 <any>&nbsp;evaluator,
                 long&nbsp;timeout)</code>
<div class="block">:: DeveloperApi ::
 Run a job that can return approximate results.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&lt;T,U&gt;&nbsp;java.lang.Object</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#runJob(org.apache.spark.rdd.RDD, scala.Function1, scala.reflect.ClassTag)">runJob</a></strong>(<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;T&gt;&nbsp;rdd,
      scala.Function1&lt;scala.collection.Iterator&lt;T&gt;,U&gt;&nbsp;func,
      scala.reflect.ClassTag&lt;U&gt;&nbsp;evidence$19)</code>
<div class="block">Run a job on all partitions in an RDD and return the results in an array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&lt;T,U&gt;&nbsp;void</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#runJob(org.apache.spark.rdd.RDD, scala.Function1, scala.Function2, scala.reflect.ClassTag)">runJob</a></strong>(<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;T&gt;&nbsp;rdd,
      scala.Function1&lt;scala.collection.Iterator&lt;T&gt;,U&gt;&nbsp;processPartition,
      scala.Function2&lt;java.lang.Object,U,scala.runtime.BoxedUnit&gt;&nbsp;resultHandler,
      scala.reflect.ClassTag&lt;U&gt;&nbsp;evidence$21)</code>
<div class="block">Run a job on all partitions in an RDD and pass the results to a handler function.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&lt;T,U&gt;&nbsp;java.lang.Object</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#runJob(org.apache.spark.rdd.RDD, scala.Function1, scala.collection.Seq, boolean, scala.reflect.ClassTag)">runJob</a></strong>(<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;T&gt;&nbsp;rdd,
      scala.Function1&lt;scala.collection.Iterator&lt;T&gt;,U&gt;&nbsp;func,
      scala.collection.Seq&lt;java.lang.Object&gt;&nbsp;partitions,
      boolean&nbsp;allowLocal,
      scala.reflect.ClassTag&lt;U&gt;&nbsp;evidence$17)</code>
<div class="block">Run a job on a given set of partitions of an RDD, but take a function of type
 <code>Iterator[T] =&gt; U</code> instead of <code>(TaskContext, Iterator[T]) =&gt; U</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&lt;T,U&gt;&nbsp;java.lang.Object</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#runJob(org.apache.spark.rdd.RDD, scala.Function1, scala.collection.Seq, scala.reflect.ClassTag)">runJob</a></strong>(<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;T&gt;&nbsp;rdd,
      scala.Function1&lt;scala.collection.Iterator&lt;T&gt;,U&gt;&nbsp;func,
      scala.collection.Seq&lt;java.lang.Object&gt;&nbsp;partitions,
      scala.reflect.ClassTag&lt;U&gt;&nbsp;evidence$14)</code>
<div class="block">Run a job on a given set of partitions of an RDD, but take a function of type
 <code>Iterator[T] =&gt; U</code> instead of <code>(TaskContext, Iterator[T]) =&gt; U</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&lt;T,U&gt;&nbsp;java.lang.Object</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#runJob(org.apache.spark.rdd.RDD, scala.Function2, scala.reflect.ClassTag)">runJob</a></strong>(<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;T&gt;&nbsp;rdd,
      scala.Function2&lt;<a href="../../../org/apache/spark/TaskContext.html" title="class in org.apache.spark">TaskContext</a>,scala.collection.Iterator&lt;T&gt;,U&gt;&nbsp;func,
      scala.reflect.ClassTag&lt;U&gt;&nbsp;evidence$18)</code>
<div class="block">Run a job on all partitions in an RDD and return the results in an array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&lt;T,U&gt;&nbsp;void</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#runJob(org.apache.spark.rdd.RDD, scala.Function2, scala.Function2, scala.reflect.ClassTag)">runJob</a></strong>(<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;T&gt;&nbsp;rdd,
      scala.Function2&lt;<a href="../../../org/apache/spark/TaskContext.html" title="class in org.apache.spark">TaskContext</a>,scala.collection.Iterator&lt;T&gt;,U&gt;&nbsp;processPartition,
      scala.Function2&lt;java.lang.Object,U,scala.runtime.BoxedUnit&gt;&nbsp;resultHandler,
      scala.reflect.ClassTag&lt;U&gt;&nbsp;evidence$20)</code>
<div class="block">Run a job on all partitions in an RDD and pass the results to a handler function.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&lt;T,U&gt;&nbsp;java.lang.Object</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#runJob(org.apache.spark.rdd.RDD, scala.Function2, scala.collection.Seq, boolean, scala.reflect.ClassTag)">runJob</a></strong>(<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;T&gt;&nbsp;rdd,
      scala.Function2&lt;<a href="../../../org/apache/spark/TaskContext.html" title="class in org.apache.spark">TaskContext</a>,scala.collection.Iterator&lt;T&gt;,U&gt;&nbsp;func,
      scala.collection.Seq&lt;java.lang.Object&gt;&nbsp;partitions,
      boolean&nbsp;allowLocal,
      scala.reflect.ClassTag&lt;U&gt;&nbsp;evidence$16)</code>
<div class="block">Run a function on a given set of partitions in an RDD and return the results as an array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&lt;T,U&gt;&nbsp;void</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#runJob(org.apache.spark.rdd.RDD, scala.Function2, scala.collection.Seq, boolean, scala.Function2, scala.reflect.ClassTag)">runJob</a></strong>(<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;T&gt;&nbsp;rdd,
      scala.Function2&lt;<a href="../../../org/apache/spark/TaskContext.html" title="class in org.apache.spark">TaskContext</a>,scala.collection.Iterator&lt;T&gt;,U&gt;&nbsp;func,
      scala.collection.Seq&lt;java.lang.Object&gt;&nbsp;partitions,
      boolean&nbsp;allowLocal,
      scala.Function2&lt;java.lang.Object,U,scala.runtime.BoxedUnit&gt;&nbsp;resultHandler,
      scala.reflect.ClassTag&lt;U&gt;&nbsp;evidence$15)</code>
<div class="block">Run a function on a given set of partitions in an RDD and pass the results to the given
 handler function.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&lt;T,U&gt;&nbsp;java.lang.Object</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#runJob(org.apache.spark.rdd.RDD, scala.Function2, scala.collection.Seq, scala.reflect.ClassTag)">runJob</a></strong>(<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;T&gt;&nbsp;rdd,
      scala.Function2&lt;<a href="../../../org/apache/spark/TaskContext.html" title="class in org.apache.spark">TaskContext</a>,scala.collection.Iterator&lt;T&gt;,U&gt;&nbsp;func,
      scala.collection.Seq&lt;java.lang.Object&gt;&nbsp;partitions,
      scala.reflect.ClassTag&lt;U&gt;&nbsp;evidence$13)</code>
<div class="block">Run a function on a given set of partitions in an RDD and return the results as an array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&lt;T,U&gt;&nbsp;void</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#runJob(org.apache.spark.rdd.RDD, scala.Function2, scala.collection.Seq, scala.Function2, scala.reflect.ClassTag)">runJob</a></strong>(<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;T&gt;&nbsp;rdd,
      scala.Function2&lt;<a href="../../../org/apache/spark/TaskContext.html" title="class in org.apache.spark">TaskContext</a>,scala.collection.Iterator&lt;T&gt;,U&gt;&nbsp;func,
      scala.collection.Seq&lt;java.lang.Object&gt;&nbsp;partitions,
      scala.Function2&lt;java.lang.Object,U,scala.runtime.BoxedUnit&gt;&nbsp;resultHandler,
      scala.reflect.ClassTag&lt;U&gt;&nbsp;evidence$12)</code>
<div class="block">Run a function on a given set of partitions in an RDD and pass the results to the given
 handler function.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&lt;K,V&gt;&nbsp;<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;scala.Tuple2&lt;K,V&gt;&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#sequenceFile(java.lang.String, java.lang.Class, java.lang.Class)">sequenceFile</a></strong>(java.lang.String&nbsp;path,
            java.lang.Class&lt;K&gt;&nbsp;keyClass,
            java.lang.Class&lt;V&gt;&nbsp;valueClass)</code>
<div class="block">Get an RDD for a Hadoop SequenceFile with given key and value types.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&lt;K,V&gt;&nbsp;<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;scala.Tuple2&lt;K,V&gt;&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#sequenceFile(java.lang.String, java.lang.Class, java.lang.Class, int)">sequenceFile</a></strong>(java.lang.String&nbsp;path,
            java.lang.Class&lt;K&gt;&nbsp;keyClass,
            java.lang.Class&lt;V&gt;&nbsp;valueClass,
            int&nbsp;minPartitions)</code>
<div class="block">Get an RDD for a Hadoop SequenceFile with given key and value types.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&lt;K,V&gt;&nbsp;<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;scala.Tuple2&lt;K,V&gt;&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#sequenceFile(java.lang.String, int, scala.reflect.ClassTag, scala.reflect.ClassTag, scala.Function0, scala.Function0)">sequenceFile</a></strong>(java.lang.String&nbsp;path,
            int&nbsp;minPartitions,
            scala.reflect.ClassTag&lt;K&gt;&nbsp;km,
            scala.reflect.ClassTag&lt;V&gt;&nbsp;vm,
            scala.Function0&lt;org.apache.spark.WritableConverter&lt;K&gt;&gt;&nbsp;kcf,
            scala.Function0&lt;org.apache.spark.WritableConverter&lt;V&gt;&gt;&nbsp;vcf)</code>
<div class="block">Version of sequenceFile() for types implicitly convertible to Writables through a
 WritableConverter.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#setCallSite(java.lang.String)">setCallSite</a></strong>(java.lang.String&nbsp;shortCallSite)</code>
<div class="block">Set the thread-local property for overriding the call sites
 of actions and RDDs.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#setCheckpointDir(java.lang.String)">setCheckpointDir</a></strong>(java.lang.String&nbsp;directory)</code>
<div class="block">Set the directory under which RDDs are going to be checkpointed.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#setJobDescription(java.lang.String)">setJobDescription</a></strong>(java.lang.String&nbsp;value)</code>
<div class="block">Set a human readable description of the current job.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#setJobGroup(java.lang.String, java.lang.String, boolean)">setJobGroup</a></strong>(java.lang.String&nbsp;groupId,
           java.lang.String&nbsp;description,
           boolean&nbsp;interruptOnCancel)</code>
<div class="block">Assigns a group ID to all the jobs started by this thread until the group ID is set to a
 different value or cleared.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#setLocalProperty(java.lang.String, java.lang.String)">setLocalProperty</a></strong>(java.lang.String&nbsp;key,
                java.lang.String&nbsp;value)</code>
<div class="block">Set a local property that affects jobs submitted from this thread, such as the
 Spark fair scheduler pool.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#setLogLevel(java.lang.String)">setLogLevel</a></strong>(java.lang.String&nbsp;logLevel)</code>
<div class="block">Control our logLevel.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#SPARK_JOB_DESCRIPTION()">SPARK_JOB_DESCRIPTION</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#SPARK_JOB_GROUP_ID()">SPARK_JOB_GROUP_ID</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#SPARK_JOB_INTERRUPT_ON_CANCEL()">SPARK_JOB_INTERRUPT_ON_CANCEL</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#sparkUser()">sparkUser</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#startTime()">startTime</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../org/apache/spark/SparkStatusTracker.html" title="class in org.apache.spark">SparkStatusTracker</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#statusTracker()">statusTracker</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#stop()">stop</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static org.apache.hadoop.io.Text</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#stringToText(java.lang.String)">stringToText</a></strong>(java.lang.String&nbsp;s)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static org.apache.spark.WritableConverter&lt;java.lang.String&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#stringWritableConverter()">stringWritableConverter</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&lt;T,U,R&gt;&nbsp;<a href="../../../org/apache/spark/SimpleFutureAction.html" title="class in org.apache.spark">SimpleFutureAction</a>&lt;R&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#submitJob(org.apache.spark.rdd.RDD, scala.Function1, scala.collection.Seq, scala.Function2, scala.Function0)">submitJob</a></strong>(<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;T&gt;&nbsp;rdd,
         scala.Function1&lt;scala.collection.Iterator&lt;T&gt;,U&gt;&nbsp;processPartition,
         scala.collection.Seq&lt;java.lang.Object&gt;&nbsp;partitions,
         scala.Function2&lt;java.lang.Object,U,scala.runtime.BoxedUnit&gt;&nbsp;resultHandler,
         scala.Function0&lt;R&gt;&nbsp;resultFunc)</code>
<div class="block">:: Experimental ::
 Submit a job for execution and return a FutureJob holding the result.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#tachyonFolderName()">tachyonFolderName</a></strong>()</code>&nbsp;</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;java.lang.String&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#textFile(java.lang.String, int)">textFile</a></strong>(java.lang.String&nbsp;path,
        int&nbsp;minPartitions)</code>
<div class="block">Read a text file from HDFS, a local file system (available on all nodes), or any
 Hadoop-supported file system URI, and return it as an RDD of Strings.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;T&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#union(org.apache.spark.rdd.RDD, scala.collection.Seq, scala.reflect.ClassTag)">union</a></strong>(<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;T&gt;&nbsp;first,
     scala.collection.Seq&lt;<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;T&gt;&gt;&nbsp;rest,
     scala.reflect.ClassTag&lt;T&gt;&nbsp;evidence$7)</code>
<div class="block">Build the union of a list of RDDs passed as variable-length arguments.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;T&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#union(scala.collection.Seq, scala.reflect.ClassTag)">union</a></strong>(scala.collection.Seq&lt;<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;T&gt;&gt;&nbsp;rdds,
     scala.reflect.ClassTag&lt;T&gt;&nbsp;evidence$6)</code>
<div class="block">Build the union of a list of RDDs.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#version()">version</a></strong>()</code>
<div class="block">The version of Spark on which this application is running.</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;scala.Tuple2&lt;java.lang.String,java.lang.String&gt;&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#wholeTextFiles(java.lang.String, int)">wholeTextFiles</a></strong>(java.lang.String&nbsp;path,
              int&nbsp;minPartitions)</code>
<div class="block">Read a directory of text files from HDFS, a local file system (available on all nodes), or any
 Hadoop-supported file system URI.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static &lt;T extends org.apache.hadoop.io.Writable&gt;&nbsp;<br>org.apache.spark.WritableConverter&lt;T&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/spark/SparkContext.html#writableWritableConverter()">writableWritableConverter</a></strong>()</code>&nbsp;</td>
</tr>
</table>
<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>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_org.apache.spark.Logging">
<!--   -->
</a>
<h3>Methods inherited from interface&nbsp;org.apache.spark.<a href="../../../org/apache/spark/Logging.html" title="interface in org.apache.spark">Logging</a></h3>
<code><a href="../../../org/apache/spark/Logging.html#initializeIfNecessary()">initializeIfNecessary</a>, <a href="../../../org/apache/spark/Logging.html#initializeLogging()">initializeLogging</a>, <a href="../../../org/apache/spark/Logging.html#isTraceEnabled()">isTraceEnabled</a>, <a href="../../../org/apache/spark/Logging.html#log_()">log_</a>, <a href="../../../org/apache/spark/Logging.html#log()">log</a>, <a href="../../../org/apache/spark/Logging.html#logDebug(scala.Function0)">logDebug</a>, <a href="../../../org/apache/spark/Logging.html#logDebug(scala.Function0, java.lang.Throwable)">logDebug</a>, <a href="../../../org/apache/spark/Logging.html#logError(scala.Function0)">logError</a>, <a href="../../../org/apache/spark/Logging.html#logError(scala.Function0, java.lang.Throwable)">logError</a>, <a href="../../../org/apache/spark/Logging.html#logInfo(scala.Function0)">logInfo</a>, <a href="../../../org/apache/spark/Logging.html#logInfo(scala.Function0, java.lang.Throwable)">logInfo</a>, <a href="../../../org/apache/spark/Logging.html#logName()">logName</a>, <a href="../../../org/apache/spark/Logging.html#logTrace(scala.Function0)">logTrace</a>, <a href="../../../org/apache/spark/Logging.html#logTrace(scala.Function0, java.lang.Throwable)">logTrace</a>, <a href="../../../org/apache/spark/Logging.html#logWarning(scala.Function0)">logWarning</a>, <a href="../../../org/apache/spark/Logging.html#logWarning(scala.Function0, java.lang.Throwable)">logWarning</a></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="SparkContext(org.apache.spark.SparkConf)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SparkContext</h4>
<pre>public&nbsp;SparkContext(<a href="../../../org/apache/spark/SparkConf.html" title="class in org.apache.spark">SparkConf</a>&nbsp;config)</pre>
</li>
</ul>
<a name="SparkContext()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SparkContext</h4>
<pre>public&nbsp;SparkContext()</pre>
<div class="block">Create a SparkContext that loads settings from system properties (for instance, when
 launching with ./bin/spark-submit).</div>
</li>
</ul>
<a name="SparkContext(org.apache.spark.SparkConf, scala.collection.Map)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SparkContext</h4>
<pre>public&nbsp;SparkContext(<a href="../../../org/apache/spark/SparkConf.html" title="class in org.apache.spark">SparkConf</a>&nbsp;config,
            scala.collection.Map&lt;java.lang.String,scala.collection.Set&lt;<a href="../../../org/apache/spark/scheduler/SplitInfo.html" title="class in org.apache.spark.scheduler">SplitInfo</a>&gt;&gt;&nbsp;preferredNodeLocationData)</pre>
<div class="block">:: DeveloperApi ::
 Alternative constructor for setting preferred locations where Spark will create executors.
 <p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>config</code> - a <a href="../../../org/apache/spark/SparkConf.html" title="class in org.apache.spark"><code>SparkConf</code></a> object specifying other Spark parameters</dd><dd><code>preferredNodeLocationData</code> - used in YARN mode to select nodes to launch containers on.
 Can be generated using <code>org.apache.spark.scheduler.InputFormatInfo.computePreferredLocations</code>
 from a list of input files or InputFormats for the application.</dd></dl>
</li>
</ul>
<a name="SparkContext(java.lang.String, java.lang.String, org.apache.spark.SparkConf)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SparkContext</h4>
<pre>public&nbsp;SparkContext(java.lang.String&nbsp;master,
            java.lang.String&nbsp;appName,
            <a href="../../../org/apache/spark/SparkConf.html" title="class in org.apache.spark">SparkConf</a>&nbsp;conf)</pre>
<div class="block">Alternative constructor that allows setting common Spark properties directly
 <p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>master</code> - Cluster URL to connect to (e.g. mesos://host:port, spark://host:port, local[4]).</dd><dd><code>appName</code> - A name for your application, to display on the cluster web UI</dd><dd><code>conf</code> - a <a href="../../../org/apache/spark/SparkConf.html" title="class in org.apache.spark"><code>SparkConf</code></a> object specifying other Spark parameters</dd></dl>
</li>
</ul>
<a name="SparkContext(java.lang.String, java.lang.String, java.lang.String, scala.collection.Seq, scala.collection.Map, scala.collection.Map)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>SparkContext</h4>
<pre>public&nbsp;SparkContext(java.lang.String&nbsp;master,
            java.lang.String&nbsp;appName,
            java.lang.String&nbsp;sparkHome,
            scala.collection.Seq&lt;java.lang.String&gt;&nbsp;jars,
            scala.collection.Map&lt;java.lang.String,java.lang.String&gt;&nbsp;environment,
            scala.collection.Map&lt;java.lang.String,scala.collection.Set&lt;<a href="../../../org/apache/spark/scheduler/SplitInfo.html" title="class in org.apache.spark.scheduler">SplitInfo</a>&gt;&gt;&nbsp;preferredNodeLocationData)</pre>
<div class="block">Alternative constructor that allows setting common Spark properties directly
 <p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>master</code> - Cluster URL to connect to (e.g. mesos://host:port, spark://host:port, local[4]).</dd><dd><code>appName</code> - A name for your application, to display on the cluster web UI.</dd><dd><code>sparkHome</code> - Location where Spark is installed on cluster nodes.</dd><dd><code>jars</code> - Collection of JARs to send to the cluster. These can be paths on the local file
             system or HDFS, HTTP, HTTPS, or FTP URLs.</dd><dd><code>environment</code> - Environment variables to set on worker nodes.</dd><dd><code>preferredNodeLocationData</code> - used in YARN mode to select nodes to launch containers on.
 Can be generated using <code>org.apache.spark.scheduler.InputFormatInfo.computePreferredLocations</code>
 from a list of input files or InputFormats for the application.</dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="getOrCreate(org.apache.spark.SparkConf)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOrCreate</h4>
<pre>public static&nbsp;<a href="../../../org/apache/spark/SparkContext.html" title="class in org.apache.spark">SparkContext</a>&nbsp;getOrCreate(<a href="../../../org/apache/spark/SparkConf.html" title="class in org.apache.spark">SparkConf</a>&nbsp;config)</pre>
<div class="block">This function may be used to get or instantiate a SparkContext and register it as a
 singleton object. Because we can only have one active SparkContext per JVM,
 this is useful when applications may wish to share a SparkContext.
 <p>
 Note: This function cannot be used to create multiple SparkContext instances
 even if multiple contexts are allowed.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>config</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="getOrCreate()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOrCreate</h4>
<pre>public static&nbsp;<a href="../../../org/apache/spark/SparkContext.html" title="class in org.apache.spark">SparkContext</a>&nbsp;getOrCreate()</pre>
<div class="block">This function may be used to get or instantiate a SparkContext and register it as a
 singleton object. Because we can only have one active SparkContext per JVM,
 this is useful when applications may wish to share a SparkContext.
 <p>
 This method allows not passing a SparkConf (useful if just retrieving).
 <p>
 Note: This function cannot be used to create multiple SparkContext instances
 even if multiple contexts are allowed.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="SPARK_JOB_DESCRIPTION()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SPARK_JOB_DESCRIPTION</h4>
<pre>public static&nbsp;java.lang.String&nbsp;SPARK_JOB_DESCRIPTION()</pre>
</li>
</ul>
<a name="SPARK_JOB_GROUP_ID()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SPARK_JOB_GROUP_ID</h4>
<pre>public static&nbsp;java.lang.String&nbsp;SPARK_JOB_GROUP_ID()</pre>
</li>
</ul>
<a name="SPARK_JOB_INTERRUPT_ON_CANCEL()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SPARK_JOB_INTERRUPT_ON_CANCEL</h4>
<pre>public static&nbsp;java.lang.String&nbsp;SPARK_JOB_INTERRUPT_ON_CANCEL()</pre>
</li>
</ul>
<a name="RDD_SCOPE_KEY()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>RDD_SCOPE_KEY</h4>
<pre>public static&nbsp;java.lang.String&nbsp;RDD_SCOPE_KEY()</pre>
</li>
</ul>
<a name="RDD_SCOPE_NO_OVERRIDE_KEY()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>RDD_SCOPE_NO_OVERRIDE_KEY</h4>
<pre>public static&nbsp;java.lang.String&nbsp;RDD_SCOPE_NO_OVERRIDE_KEY()</pre>
</li>
</ul>
<a name="DRIVER_IDENTIFIER()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DRIVER_IDENTIFIER</h4>
<pre>public static&nbsp;java.lang.String&nbsp;DRIVER_IDENTIFIER()</pre>
<div class="block">Executor id for the driver.  In earlier versions of Spark, this was <code><driver></code>, but this was
 changed to <code>driver</code> because the angle brackets caused escaping issues in URLs and XML (see
 SPARK-6716 for more details).</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="LEGACY_DRIVER_IDENTIFIER()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LEGACY_DRIVER_IDENTIFIER</h4>
<pre>public static&nbsp;java.lang.String&nbsp;LEGACY_DRIVER_IDENTIFIER()</pre>
<div class="block">Legacy version of DRIVER_IDENTIFIER, retained for backwards-compatibility.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="rddToPairRDDFunctions(org.apache.spark.rdd.RDD, scala.reflect.ClassTag, scala.reflect.ClassTag, scala.math.Ordering)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rddToPairRDDFunctions</h4>
<pre>public static&nbsp;&lt;K,V&gt;&nbsp;<a href="../../../org/apache/spark/rdd/PairRDDFunctions.html" title="class in org.apache.spark.rdd">PairRDDFunctions</a>&lt;K,V&gt;&nbsp;rddToPairRDDFunctions(<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;scala.Tuple2&lt;K,V&gt;&gt;&nbsp;rdd,
                                                scala.reflect.ClassTag&lt;K&gt;&nbsp;kt,
                                                scala.reflect.ClassTag&lt;V&gt;&nbsp;vt,
                                                scala.math.Ordering&lt;K&gt;&nbsp;ord)</pre>
</li>
</ul>
<a name="rddToAsyncRDDActions(org.apache.spark.rdd.RDD, scala.reflect.ClassTag)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rddToAsyncRDDActions</h4>
<pre>public static&nbsp;&lt;T&gt;&nbsp;<a href="../../../org/apache/spark/rdd/AsyncRDDActions.html" title="class in org.apache.spark.rdd">AsyncRDDActions</a>&lt;T&gt;&nbsp;rddToAsyncRDDActions(<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;T&gt;&nbsp;rdd,
                                          scala.reflect.ClassTag&lt;T&gt;&nbsp;evidence$22)</pre>
</li>
</ul>
<a name="rddToSequenceFileRDDFunctions(org.apache.spark.rdd.RDD, scala.Function1, scala.reflect.ClassTag, scala.Function1, scala.reflect.ClassTag)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rddToSequenceFileRDDFunctions</h4>
<pre>public static&nbsp;&lt;K,V&gt;&nbsp;<a href="../../../org/apache/spark/rdd/SequenceFileRDDFunctions.html" title="class in org.apache.spark.rdd">SequenceFileRDDFunctions</a>&lt;K,V&gt;&nbsp;rddToSequenceFileRDDFunctions(<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;scala.Tuple2&lt;K,V&gt;&gt;&nbsp;rdd,
                                                                scala.Function1&lt;K,org.apache.hadoop.io.Writable&gt;&nbsp;evidence$23,
                                                                scala.reflect.ClassTag&lt;K&gt;&nbsp;evidence$24,
                                                                scala.Function1&lt;V,org.apache.hadoop.io.Writable&gt;&nbsp;evidence$25,
                                                                scala.reflect.ClassTag&lt;V&gt;&nbsp;evidence$26)</pre>
</li>
</ul>
<a name="rddToOrderedRDDFunctions(org.apache.spark.rdd.RDD, scala.math.Ordering, scala.reflect.ClassTag, scala.reflect.ClassTag)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rddToOrderedRDDFunctions</h4>
<pre>public static&nbsp;&lt;K,V&gt;&nbsp;<a href="../../../org/apache/spark/rdd/OrderedRDDFunctions.html" title="class in org.apache.spark.rdd">OrderedRDDFunctions</a>&lt;K,V,scala.Tuple2&lt;K,V&gt;&gt;&nbsp;rddToOrderedRDDFunctions(<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;scala.Tuple2&lt;K,V&gt;&gt;&nbsp;rdd,
                                                                        scala.math.Ordering&lt;K&gt;&nbsp;evidence$27,
                                                                        scala.reflect.ClassTag&lt;K&gt;&nbsp;evidence$28,
                                                                        scala.reflect.ClassTag&lt;V&gt;&nbsp;evidence$29)</pre>
</li>
</ul>
<a name="doubleRDDToDoubleRDDFunctions(org.apache.spark.rdd.RDD)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>doubleRDDToDoubleRDDFunctions</h4>
<pre>public static&nbsp;<a href="../../../org/apache/spark/rdd/DoubleRDDFunctions.html" title="class in org.apache.spark.rdd">DoubleRDDFunctions</a>&nbsp;doubleRDDToDoubleRDDFunctions(<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;java.lang.Object&gt;&nbsp;rdd)</pre>
</li>
</ul>
<a name="numericRDDToDoubleRDDFunctions(org.apache.spark.rdd.RDD, scala.math.Numeric)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>numericRDDToDoubleRDDFunctions</h4>
<pre>public static&nbsp;&lt;T&gt;&nbsp;<a href="../../../org/apache/spark/rdd/DoubleRDDFunctions.html" title="class in org.apache.spark.rdd">DoubleRDDFunctions</a>&nbsp;numericRDDToDoubleRDDFunctions(<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;T&gt;&nbsp;rdd,
                                                    scala.math.Numeric&lt;T&gt;&nbsp;num)</pre>
</li>
</ul>
<a name="intToIntWritable(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>intToIntWritable</h4>
<pre>public static&nbsp;org.apache.hadoop.io.IntWritable&nbsp;intToIntWritable(int&nbsp;i)</pre>
</li>
</ul>
<a name="longToLongWritable(long)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>longToLongWritable</h4>
<pre>public static&nbsp;org.apache.hadoop.io.LongWritable&nbsp;longToLongWritable(long&nbsp;l)</pre>
</li>
</ul>
<a name="floatToFloatWritable(float)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>floatToFloatWritable</h4>
<pre>public static&nbsp;org.apache.hadoop.io.FloatWritable&nbsp;floatToFloatWritable(float&nbsp;f)</pre>
</li>
</ul>
<a name="doubleToDoubleWritable(double)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>doubleToDoubleWritable</h4>
<pre>public static&nbsp;org.apache.hadoop.io.DoubleWritable&nbsp;doubleToDoubleWritable(double&nbsp;d)</pre>
</li>
</ul>
<a name="boolToBoolWritable(boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>boolToBoolWritable</h4>
<pre>public static&nbsp;org.apache.hadoop.io.BooleanWritable&nbsp;boolToBoolWritable(boolean&nbsp;b)</pre>
</li>
</ul>
<a name="bytesToBytesWritable(byte[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>bytesToBytesWritable</h4>
<pre>public static&nbsp;org.apache.hadoop.io.BytesWritable&nbsp;bytesToBytesWritable(byte[]&nbsp;aob)</pre>
</li>
</ul>
<a name="stringToText(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>stringToText</h4>
<pre>public static&nbsp;org.apache.hadoop.io.Text&nbsp;stringToText(java.lang.String&nbsp;s)</pre>
</li>
</ul>
<a name="intWritableConverter()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>intWritableConverter</h4>
<pre>public static&nbsp;org.apache.spark.WritableConverter&lt;java.lang.Object&gt;&nbsp;intWritableConverter()</pre>
</li>
</ul>
<a name="longWritableConverter()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>longWritableConverter</h4>
<pre>public static&nbsp;org.apache.spark.WritableConverter&lt;java.lang.Object&gt;&nbsp;longWritableConverter()</pre>
</li>
</ul>
<a name="doubleWritableConverter()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>doubleWritableConverter</h4>
<pre>public static&nbsp;org.apache.spark.WritableConverter&lt;java.lang.Object&gt;&nbsp;doubleWritableConverter()</pre>
</li>
</ul>
<a name="floatWritableConverter()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>floatWritableConverter</h4>
<pre>public static&nbsp;org.apache.spark.WritableConverter&lt;java.lang.Object&gt;&nbsp;floatWritableConverter()</pre>
</li>
</ul>
<a name="booleanWritableConverter()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>booleanWritableConverter</h4>
<pre>public static&nbsp;org.apache.spark.WritableConverter&lt;java.lang.Object&gt;&nbsp;booleanWritableConverter()</pre>
</li>
</ul>
<a name="bytesWritableConverter()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>bytesWritableConverter</h4>
<pre>public static&nbsp;org.apache.spark.WritableConverter&lt;byte[]&gt;&nbsp;bytesWritableConverter()</pre>
</li>
</ul>
<a name="stringWritableConverter()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>stringWritableConverter</h4>
<pre>public static&nbsp;org.apache.spark.WritableConverter&lt;java.lang.String&gt;&nbsp;stringWritableConverter()</pre>
</li>
</ul>
<a name="writableWritableConverter()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writableWritableConverter</h4>
<pre>public static&nbsp;&lt;T extends org.apache.hadoop.io.Writable&gt;&nbsp;org.apache.spark.WritableConverter&lt;T&gt;&nbsp;writableWritableConverter()</pre>
</li>
</ul>
<a name="jarOfClass(java.lang.Class)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>jarOfClass</h4>
<pre>public static&nbsp;scala.Option&lt;java.lang.String&gt;&nbsp;jarOfClass(java.lang.Class&lt;?&gt;&nbsp;cls)</pre>
<div class="block">Find the JAR from which a given class was loaded, to make it easy for users to pass
 their JARs to SparkContext.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cls</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="jarOfObject(java.lang.Object)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>jarOfObject</h4>
<pre>public static&nbsp;scala.Option&lt;java.lang.String&gt;&nbsp;jarOfObject(java.lang.Object&nbsp;obj)</pre>
<div class="block">Find the JAR that contains the class of a particular object, to make it easy for users
 to pass their JARs to SparkContext. In most cases you can call jarOfObject(this) in
 your driver program.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>obj</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="preferredNodeLocationData()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>preferredNodeLocationData</h4>
<pre>public&nbsp;scala.collection.Map&lt;java.lang.String,scala.collection.Set&lt;<a href="../../../org/apache/spark/scheduler/SplitInfo.html" title="class in org.apache.spark.scheduler">SplitInfo</a>&gt;&gt;&nbsp;preferredNodeLocationData()</pre>
</li>
</ul>
<a name="startTime()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>startTime</h4>
<pre>public&nbsp;long&nbsp;startTime()</pre>
</li>
</ul>
<a name="getConf()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getConf</h4>
<pre>public&nbsp;<a href="../../../org/apache/spark/SparkConf.html" title="class in org.apache.spark">SparkConf</a>&nbsp;getConf()</pre>
<div class="block">Return a copy of this SparkContext's configuration. The configuration ''cannot'' be
 changed at runtime.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="jars()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>jars</h4>
<pre>public&nbsp;scala.collection.Seq&lt;java.lang.String&gt;&nbsp;jars()</pre>
</li>
</ul>
<a name="files()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>files</h4>
<pre>public&nbsp;scala.collection.Seq&lt;java.lang.String&gt;&nbsp;files()</pre>
</li>
</ul>
<a name="master()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>master</h4>
<pre>public&nbsp;java.lang.String&nbsp;master()</pre>
</li>
</ul>
<a name="appName()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>appName</h4>
<pre>public&nbsp;java.lang.String&nbsp;appName()</pre>
</li>
</ul>
<a name="externalBlockStoreFolderName()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>externalBlockStoreFolderName</h4>
<pre>public&nbsp;java.lang.String&nbsp;externalBlockStoreFolderName()</pre>
</li>
</ul>
<a name="tachyonFolderName()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>tachyonFolderName</h4>
<pre>public&nbsp;java.lang.String&nbsp;tachyonFolderName()</pre>
</li>
</ul>
<a name="isLocal()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isLocal</h4>
<pre>public&nbsp;boolean&nbsp;isLocal()</pre>
</li>
</ul>
<a name="listenerBus()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>listenerBus</h4>
<pre>public&nbsp;org.apache.spark.scheduler.LiveListenerBus&nbsp;listenerBus()</pre>
</li>
</ul>
<a name="addedFiles()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addedFiles</h4>
<pre>public&nbsp;scala.collection.mutable.HashMap&lt;java.lang.String,java.lang.Object&gt;&nbsp;addedFiles()</pre>
</li>
</ul>
<a name="addedJars()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addedJars</h4>
<pre>public&nbsp;scala.collection.mutable.HashMap&lt;java.lang.String,java.lang.Object&gt;&nbsp;addedJars()</pre>
</li>
</ul>
<a name="persistentRdds()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>persistentRdds</h4>
<pre>public&nbsp;<any>&nbsp;persistentRdds()</pre>
</li>
</ul>
<a name="statusTracker()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>statusTracker</h4>
<pre>public&nbsp;<a href="../../../org/apache/spark/SparkStatusTracker.html" title="class in org.apache.spark">SparkStatusTracker</a>&nbsp;statusTracker()</pre>
</li>
</ul>
<a name="hadoopConfiguration()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hadoopConfiguration</h4>
<pre>public&nbsp;org.apache.hadoop.conf.Configuration&nbsp;hadoopConfiguration()</pre>
<div class="block">A default Hadoop Configuration for the Hadoop code (e.g. file systems) that we reuse.
 <p>
 '''Note:''' As it will be reused in all Hadoop RDDs, it's better not to modify it unless you
 plan to set some global configurations for all Hadoop RDDs.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="executorEnvs()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>executorEnvs</h4>
<pre>public&nbsp;scala.collection.mutable.HashMap&lt;java.lang.String,java.lang.String&gt;&nbsp;executorEnvs()</pre>
</li>
</ul>
<a name="sparkUser()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sparkUser</h4>
<pre>public&nbsp;java.lang.String&nbsp;sparkUser()</pre>
</li>
</ul>
<a name="applicationId()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>applicationId</h4>
<pre>public&nbsp;java.lang.String&nbsp;applicationId()</pre>
<div class="block">A unique identifier for the Spark application.
 Its format depends on the scheduler implementation.
 (i.e.
  in case of local spark app something like 'local-1433865536131'
  in case of YARN something like 'application_1433865536131_34483'
 )</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="applicationAttemptId()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>applicationAttemptId</h4>
<pre>public&nbsp;scala.Option&lt;java.lang.String&gt;&nbsp;applicationAttemptId()</pre>
</li>
</ul>
<a name="metricsSystem()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>metricsSystem</h4>
<pre>public&nbsp;org.apache.spark.metrics.MetricsSystem&nbsp;metricsSystem()</pre>
</li>
</ul>
<a name="checkpointDir()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>checkpointDir</h4>
<pre>public&nbsp;scala.Option&lt;java.lang.String&gt;&nbsp;checkpointDir()</pre>
</li>
</ul>
<a name="localProperties()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>localProperties</h4>
<pre>protected&nbsp;java.lang.InheritableThreadLocal&lt;java.util.Properties&gt;&nbsp;localProperties()</pre>
</li>
</ul>
<a name="setLogLevel(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLogLevel</h4>
<pre>public&nbsp;void&nbsp;setLogLevel(java.lang.String&nbsp;logLevel)</pre>
<div class="block">Control our logLevel. This overrides any user-defined log settings.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>logLevel</code> - The desired log level as a string.
 Valid log levels include: ALL, DEBUG, ERROR, FATAL, INFO, OFF, TRACE, WARN</dd></dl>
</li>
</ul>
<a name="initLocalProperties()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>initLocalProperties</h4>
<pre>public&nbsp;void&nbsp;initLocalProperties()</pre>
</li>
</ul>
<a name="setLocalProperty(java.lang.String, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLocalProperty</h4>
<pre>public&nbsp;void&nbsp;setLocalProperty(java.lang.String&nbsp;key,
                    java.lang.String&nbsp;value)</pre>
<div class="block">Set a local property that affects jobs submitted from this thread, such as the
 Spark fair scheduler pool.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - (undocumented)</dd><dd><code>value</code> - (undocumented)</dd></dl>
</li>
</ul>
<a name="getLocalProperty(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLocalProperty</h4>
<pre>public&nbsp;java.lang.String&nbsp;getLocalProperty(java.lang.String&nbsp;key)</pre>
<div class="block">Get a local property set in this thread, or null if it is missing. See
 <code>org.apache.spark.SparkContext.setLocalProperty</code>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="setJobDescription(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setJobDescription</h4>
<pre>public&nbsp;void&nbsp;setJobDescription(java.lang.String&nbsp;value)</pre>
<div class="block">Set a human readable description of the current job.</div>
</li>
</ul>
<a name="setJobGroup(java.lang.String, java.lang.String, boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setJobGroup</h4>
<pre>public&nbsp;void&nbsp;setJobGroup(java.lang.String&nbsp;groupId,
               java.lang.String&nbsp;description,
               boolean&nbsp;interruptOnCancel)</pre>
<div class="block">Assigns a group ID to all the jobs started by this thread until the group ID is set to a
 different value or cleared.
 <p>
 Often, a unit of execution in an application consists of multiple Spark actions or jobs.
 Application programmers can use this method to group all those jobs together and give a
 group description. Once set, the Spark web UI will associate such jobs with this group.
 <p>
 The application can also use <code>org.apache.spark.SparkContext.cancelJobGroup</code> to cancel all
 running jobs in this group. For example,
 <pre><code>
 // In the main thread:
 sc.setJobGroup("some_job_to_cancel", "some job description")
 sc.parallelize(1 to 10000, 2).map { i =&gt; Thread.sleep(10); i }.count()

 // In a separate thread:
 sc.cancelJobGroup("some_job_to_cancel")
 </code></pre>
 <p>
 If interruptOnCancel is set to true for the job group, then job cancellation will result
 in Thread.interrupt() being called on the job's executor threads. This is useful to help ensure
 that the tasks are actually stopped in a timely manner, but is off by default due to HDFS-1208,
 where HDFS may respond to Thread.interrupt() by marking nodes as dead.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>groupId</code> - (undocumented)</dd><dd><code>description</code> - (undocumented)</dd><dd><code>interruptOnCancel</code> - (undocumented)</dd></dl>
</li>
</ul>
<a name="clearJobGroup()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clearJobGroup</h4>
<pre>public&nbsp;void&nbsp;clearJobGroup()</pre>
<div class="block">Clear the current thread's job group ID and its description.</div>
</li>
</ul>
<a name="parallelize(scala.collection.Seq, int, scala.reflect.ClassTag)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parallelize</h4>
<pre>public&nbsp;&lt;T&gt;&nbsp;<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;T&gt;&nbsp;parallelize(scala.collection.Seq&lt;T&gt;&nbsp;seq,
                     int&nbsp;numSlices,
                     scala.reflect.ClassTag&lt;T&gt;&nbsp;evidence$1)</pre>
<div class="block">Distribute a local Scala collection to form an RDD.
 <p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>seq</code> - (undocumented)</dd><dd><code>numSlices</code> - (undocumented)</dd><dd><code>evidence$1</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="range(long, long, long, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>range</h4>
<pre>public&nbsp;<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;java.lang.Object&gt;&nbsp;range(long&nbsp;start,
                          long&nbsp;end,
                          long&nbsp;step,
                          int&nbsp;numSlices)</pre>
<div class="block">Creates a new RDD[Long] containing elements from <code>start</code> to <code>end</code>(exclusive), increased by
 <code>step</code> every element.
 <p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>start</code> - the start value.</dd><dd><code>end</code> - the end value.</dd><dd><code>step</code> - the incremental step</dd><dd><code>numSlices</code> - the partition number of the new RDD.</dd>
<dt><span class="strong">Returns:</span></dt><dd></dd></dl>
</li>
</ul>
<a name="makeRDD(scala.collection.Seq, int, scala.reflect.ClassTag)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>makeRDD</h4>
<pre>public&nbsp;&lt;T&gt;&nbsp;<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;T&gt;&nbsp;makeRDD(scala.collection.Seq&lt;T&gt;&nbsp;seq,
                 int&nbsp;numSlices,
                 scala.reflect.ClassTag&lt;T&gt;&nbsp;evidence$2)</pre>
<div class="block">Distribute a local Scala collection to form an RDD.
 <p>
 This method is identical to <code>parallelize</code>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>seq</code> - (undocumented)</dd><dd><code>numSlices</code> - (undocumented)</dd><dd><code>evidence$2</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="makeRDD(scala.collection.Seq, scala.reflect.ClassTag)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>makeRDD</h4>
<pre>public&nbsp;&lt;T&gt;&nbsp;<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;T&gt;&nbsp;makeRDD(scala.collection.Seq&lt;scala.Tuple2&lt;T,scala.collection.Seq&lt;java.lang.String&gt;&gt;&gt;&nbsp;seq,
                 scala.reflect.ClassTag&lt;T&gt;&nbsp;evidence$3)</pre>
<div class="block">Distribute a local Scala collection to form an RDD, with one or more
 location preferences (hostnames of Spark nodes) for each object.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>seq</code> - (undocumented)</dd><dd><code>evidence$3</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)
 Create a new partition for each collection item.</dd></dl>
</li>
</ul>
<a name="textFile(java.lang.String, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>textFile</h4>
<pre>public&nbsp;<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;java.lang.String&gt;&nbsp;textFile(java.lang.String&nbsp;path,
                             int&nbsp;minPartitions)</pre>
<div class="block">Read a text file from HDFS, a local file system (available on all nodes), or any
 Hadoop-supported file system URI, and return it as an RDD of Strings.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>path</code> - (undocumented)</dd><dd><code>minPartitions</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="wholeTextFiles(java.lang.String, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>wholeTextFiles</h4>
<pre>public&nbsp;<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;scala.Tuple2&lt;java.lang.String,java.lang.String&gt;&gt;&nbsp;wholeTextFiles(java.lang.String&nbsp;path,
                                                                  int&nbsp;minPartitions)</pre>
<div class="block">Read a directory of text files from HDFS, a local file system (available on all nodes), or any
 Hadoop-supported file system URI. Each file is read as a single record and returned in a
 key-value pair, where the key is the path of each file, the value is the content of each file.
 <p>
 <p> For example, if you have the following files:
 <pre><code>
   hdfs://a-hdfs-path/part-00000
   hdfs://a-hdfs-path/part-00001
   ...
   hdfs://a-hdfs-path/part-nnnnn
 </code></pre>
 <p>
 Do <code>val rdd = sparkContext.wholeTextFile("hdfs://a-hdfs-path")</code>,
 <p>
 <p> then <code>rdd</code> contains
 <pre><code>
   (a-hdfs-path/part-00000, its content)
   (a-hdfs-path/part-00001, its content)
   ...
   (a-hdfs-path/part-nnnnn, its content)
 </code></pre>
 <p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>path</code> - Directory to the input data files, the path can be comma separated paths as the
             list of inputs.</dd><dd><code>minPartitions</code> - A suggestion value of the minimal splitting number for input data.</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="binaryFiles(java.lang.String, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>binaryFiles</h4>
<pre>public&nbsp;<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;scala.Tuple2&lt;java.lang.String,<a href="../../../org/apache/spark/input/PortableDataStream.html" title="class in org.apache.spark.input">PortableDataStream</a>&gt;&gt;&nbsp;binaryFiles(java.lang.String&nbsp;path,
                                                                 int&nbsp;minPartitions)</pre>
<div class="block">:: Experimental ::
 <p>
 Get an RDD for a Hadoop-readable dataset as PortableDataStream for each file
 (useful for binary data)
 <p>
 For example, if you have the following files:
 <pre><code>
   hdfs://a-hdfs-path/part-00000
   hdfs://a-hdfs-path/part-00001
   ...
   hdfs://a-hdfs-path/part-nnnnn
 </code></pre>
 <p>
 Do
 <code>val rdd = sparkContext.binaryFiles("hdfs://a-hdfs-path")</code>,
 <p>
 then <code>rdd</code> contains
 <pre><code>
   (a-hdfs-path/part-00000, its content)
   (a-hdfs-path/part-00001, its content)
   ...
   (a-hdfs-path/part-nnnnn, its content)
 </code></pre>
 <p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>path</code> - Directory to the input data files, the path can be comma separated paths as the
             list of inputs.</dd><dd><code>minPartitions</code> - A suggestion value of the minimal splitting number for input data.</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="binaryRecords(java.lang.String, int, org.apache.hadoop.conf.Configuration)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>binaryRecords</h4>
<pre>public&nbsp;<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;byte[]&gt;&nbsp;binaryRecords(java.lang.String&nbsp;path,
                        int&nbsp;recordLength,
                        org.apache.hadoop.conf.Configuration&nbsp;conf)</pre>
<div class="block">:: Experimental ::
 <p>
 Load data from a flat binary file, assuming the length of each record is constant.
 <p>
 '''Note:''' We ensure that the byte array for each record in the resulting RDD
 has the provided record length.
 <p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>path</code> - Directory to the input data files, the path can be comma separated paths as the
             list of inputs.</dd><dd><code>recordLength</code> - The length at which to split the records</dd><dd><code>conf</code> - Configuration for setting up the dataset.
 <p></dd>
<dt><span class="strong">Returns:</span></dt><dd>An RDD of data with values, represented as byte arrays</dd></dl>
</li>
</ul>
<a name="hadoopRDD(org.apache.hadoop.mapred.JobConf, java.lang.Class, java.lang.Class, java.lang.Class, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hadoopRDD</h4>
<pre>public&nbsp;&lt;K,V&gt;&nbsp;<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;scala.Tuple2&lt;K,V&gt;&gt;&nbsp;hadoopRDD(org.apache.hadoop.mapred.JobConf&nbsp;conf,
                                     java.lang.Class&lt;? extends org.apache.hadoop.mapred.InputFormat&lt;K,V&gt;&gt;&nbsp;inputFormatClass,
                                     java.lang.Class&lt;K&gt;&nbsp;keyClass,
                                     java.lang.Class&lt;V&gt;&nbsp;valueClass,
                                     int&nbsp;minPartitions)</pre>
<div class="block">Get an RDD for a Hadoop-readable dataset from a Hadoop JobConf given its InputFormat and other
 necessary info (e.g. file name for a filesystem-based dataset, table name for HyperTable),
 using the older MapReduce API (<code>org.apache.hadoop.mapred</code>).
 <p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>conf</code> - JobConf for setting up the dataset. Note: This will be put into a Broadcast.
             Therefore if you plan to reuse this conf to create multiple RDDs, you need to make
             sure you won't modify the conf. A safe approach is always creating a new conf for
             a new RDD.</dd><dd><code>inputFormatClass</code> - Class of the InputFormat</dd><dd><code>keyClass</code> - Class of the keys</dd><dd><code>valueClass</code> - Class of the values</dd><dd><code>minPartitions</code> - Minimum number of Hadoop Splits to generate.
 <p>
 '''Note:''' Because Hadoop's RecordReader class re-uses the same Writable object for each
 record, directly caching the returned RDD or directly passing it to an aggregation or shuffle
 operation will create many references to the same object.
 If you plan to directly cache, sort, or aggregate Hadoop writable objects, you should first
 copy them using a <code>map</code> function.</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="hadoopFile(java.lang.String, java.lang.Class, java.lang.Class, java.lang.Class, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hadoopFile</h4>
<pre>public&nbsp;&lt;K,V&gt;&nbsp;<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;scala.Tuple2&lt;K,V&gt;&gt;&nbsp;hadoopFile(java.lang.String&nbsp;path,
                                      java.lang.Class&lt;? extends org.apache.hadoop.mapred.InputFormat&lt;K,V&gt;&gt;&nbsp;inputFormatClass,
                                      java.lang.Class&lt;K&gt;&nbsp;keyClass,
                                      java.lang.Class&lt;V&gt;&nbsp;valueClass,
                                      int&nbsp;minPartitions)</pre>
<div class="block">Get an RDD for a Hadoop file with an arbitrary InputFormat
 <p>
 '''Note:''' Because Hadoop's RecordReader class re-uses the same Writable object for each
 record, directly caching the returned RDD or directly passing it to an aggregation or shuffle
 operation will create many references to the same object.
 If you plan to directly cache, sort, or aggregate Hadoop writable objects, you should first
 copy them using a <code>map</code> function.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>path</code> - (undocumented)</dd><dd><code>inputFormatClass</code> - (undocumented)</dd><dd><code>keyClass</code> - (undocumented)</dd><dd><code>valueClass</code> - (undocumented)</dd><dd><code>minPartitions</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="hadoopFile(java.lang.String, int, scala.reflect.ClassTag, scala.reflect.ClassTag, scala.reflect.ClassTag)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hadoopFile</h4>
<pre>public&nbsp;&lt;K,V,F extends org.apache.hadoop.mapred.InputFormat&lt;K,V&gt;&gt;&nbsp;<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;scala.Tuple2&lt;K,V&gt;&gt;&nbsp;hadoopFile(java.lang.String&nbsp;path,
                                                                                          int&nbsp;minPartitions,
                                                                                          scala.reflect.ClassTag&lt;K&gt;&nbsp;km,
                                                                                          scala.reflect.ClassTag&lt;V&gt;&nbsp;vm,
                                                                                          scala.reflect.ClassTag&lt;F&gt;&nbsp;fm)</pre>
<div class="block">Smarter version of hadoopFile() that uses class tags to figure out the classes of keys,
 values and the InputFormat so that users don't need to pass them directly. Instead, callers
 can just write, for example,
 <pre><code>
 val file = sparkContext.hadoopFile[LongWritable, Text, TextInputFormat](path, minPartitions)
 </code></pre>
 <p>
 '''Note:''' Because Hadoop's RecordReader class re-uses the same Writable object for each
 record, directly caching the returned RDD or directly passing it to an aggregation or shuffle
 operation will create many references to the same object.
 If you plan to directly cache, sort, or aggregate Hadoop writable objects, you should first
 copy them using a <code>map</code> function.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>path</code> - (undocumented)</dd><dd><code>minPartitions</code> - (undocumented)</dd><dd><code>km</code> - (undocumented)</dd><dd><code>vm</code> - (undocumented)</dd><dd><code>fm</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="hadoopFile(java.lang.String, scala.reflect.ClassTag, scala.reflect.ClassTag, scala.reflect.ClassTag)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hadoopFile</h4>
<pre>public&nbsp;&lt;K,V,F extends org.apache.hadoop.mapred.InputFormat&lt;K,V&gt;&gt;&nbsp;<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;scala.Tuple2&lt;K,V&gt;&gt;&nbsp;hadoopFile(java.lang.String&nbsp;path,
                                                                                          scala.reflect.ClassTag&lt;K&gt;&nbsp;km,
                                                                                          scala.reflect.ClassTag&lt;V&gt;&nbsp;vm,
                                                                                          scala.reflect.ClassTag&lt;F&gt;&nbsp;fm)</pre>
<div class="block">Smarter version of hadoopFile() that uses class tags to figure out the classes of keys,
 values and the InputFormat so that users don't need to pass them directly. Instead, callers
 can just write, for example,
 <pre><code>
 val file = sparkContext.hadoopFile[LongWritable, Text, TextInputFormat](path)
 </code></pre>
 <p>
 '''Note:''' Because Hadoop's RecordReader class re-uses the same Writable object for each
 record, directly caching the returned RDD or directly passing it to an aggregation or shuffle
 operation will create many references to the same object.
 If you plan to directly cache, sort, or aggregate Hadoop writable objects, you should first
 copy them using a <code>map</code> function.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>path</code> - (undocumented)</dd><dd><code>km</code> - (undocumented)</dd><dd><code>vm</code> - (undocumented)</dd><dd><code>fm</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="newAPIHadoopFile(java.lang.String, scala.reflect.ClassTag, scala.reflect.ClassTag, scala.reflect.ClassTag)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newAPIHadoopFile</h4>
<pre>public&nbsp;&lt;K,V,F extends org.apache.hadoop.mapreduce.InputFormat&lt;K,V&gt;&gt;&nbsp;<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;scala.Tuple2&lt;K,V&gt;&gt;&nbsp;newAPIHadoopFile(java.lang.String&nbsp;path,
                                                                                                   scala.reflect.ClassTag&lt;K&gt;&nbsp;km,
                                                                                                   scala.reflect.ClassTag&lt;V&gt;&nbsp;vm,
                                                                                                   scala.reflect.ClassTag&lt;F&gt;&nbsp;fm)</pre>
<div class="block">Get an RDD for a Hadoop file with an arbitrary new API InputFormat.</div>
</li>
</ul>
<a name="newAPIHadoopFile(java.lang.String, java.lang.Class, java.lang.Class, java.lang.Class, org.apache.hadoop.conf.Configuration)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newAPIHadoopFile</h4>
<pre>public&nbsp;&lt;K,V,F extends org.apache.hadoop.mapreduce.InputFormat&lt;K,V&gt;&gt;&nbsp;<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;scala.Tuple2&lt;K,V&gt;&gt;&nbsp;newAPIHadoopFile(java.lang.String&nbsp;path,
                                                                                                   java.lang.Class&lt;F&gt;&nbsp;fClass,
                                                                                                   java.lang.Class&lt;K&gt;&nbsp;kClass,
                                                                                                   java.lang.Class&lt;V&gt;&nbsp;vClass,
                                                                                                   org.apache.hadoop.conf.Configuration&nbsp;conf)</pre>
<div class="block">Get an RDD for a given Hadoop file with an arbitrary new API InputFormat
 and extra configuration options to pass to the input format.
 <p>
 '''Note:''' Because Hadoop's RecordReader class re-uses the same Writable object for each
 record, directly caching the returned RDD or directly passing it to an aggregation or shuffle
 operation will create many references to the same object.
 If you plan to directly cache, sort, or aggregate Hadoop writable objects, you should first
 copy them using a <code>map</code> function.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>path</code> - (undocumented)</dd><dd><code>fClass</code> - (undocumented)</dd><dd><code>kClass</code> - (undocumented)</dd><dd><code>vClass</code> - (undocumented)</dd><dd><code>conf</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="newAPIHadoopRDD(org.apache.hadoop.conf.Configuration, java.lang.Class, java.lang.Class, java.lang.Class)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newAPIHadoopRDD</h4>
<pre>public&nbsp;&lt;K,V,F extends org.apache.hadoop.mapreduce.InputFormat&lt;K,V&gt;&gt;&nbsp;<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;scala.Tuple2&lt;K,V&gt;&gt;&nbsp;newAPIHadoopRDD(org.apache.hadoop.conf.Configuration&nbsp;conf,
                                                                                                  java.lang.Class&lt;F&gt;&nbsp;fClass,
                                                                                                  java.lang.Class&lt;K&gt;&nbsp;kClass,
                                                                                                  java.lang.Class&lt;V&gt;&nbsp;vClass)</pre>
<div class="block">Get an RDD for a given Hadoop file with an arbitrary new API InputFormat
 and extra configuration options to pass to the input format.
 <p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>conf</code> - Configuration for setting up the dataset. Note: This will be put into a Broadcast.
             Therefore if you plan to reuse this conf to create multiple RDDs, you need to make
             sure you won't modify the conf. A safe approach is always creating a new conf for
             a new RDD.</dd><dd><code>fClass</code> - Class of the InputFormat</dd><dd><code>kClass</code> - Class of the keys</dd><dd><code>vClass</code> - Class of the values
 <p>
 '''Note:''' Because Hadoop's RecordReader class re-uses the same Writable object for each
 record, directly caching the returned RDD or directly passing it to an aggregation or shuffle
 operation will create many references to the same object.
 If you plan to directly cache, sort, or aggregate Hadoop writable objects, you should first
 copy them using a <code>map</code> function.</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="sequenceFile(java.lang.String, java.lang.Class, java.lang.Class, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sequenceFile</h4>
<pre>public&nbsp;&lt;K,V&gt;&nbsp;<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;scala.Tuple2&lt;K,V&gt;&gt;&nbsp;sequenceFile(java.lang.String&nbsp;path,
                                        java.lang.Class&lt;K&gt;&nbsp;keyClass,
                                        java.lang.Class&lt;V&gt;&nbsp;valueClass,
                                        int&nbsp;minPartitions)</pre>
<div class="block">Get an RDD for a Hadoop SequenceFile with given key and value types.
 <p>
 '''Note:''' Because Hadoop's RecordReader class re-uses the same Writable object for each
 record, directly caching the returned RDD or directly passing it to an aggregation or shuffle
 operation will create many references to the same object.
 If you plan to directly cache, sort, or aggregate Hadoop writable objects, you should first
 copy them using a <code>map</code> function.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>path</code> - (undocumented)</dd><dd><code>keyClass</code> - (undocumented)</dd><dd><code>valueClass</code> - (undocumented)</dd><dd><code>minPartitions</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="sequenceFile(java.lang.String, java.lang.Class, java.lang.Class)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sequenceFile</h4>
<pre>public&nbsp;&lt;K,V&gt;&nbsp;<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;scala.Tuple2&lt;K,V&gt;&gt;&nbsp;sequenceFile(java.lang.String&nbsp;path,
                                        java.lang.Class&lt;K&gt;&nbsp;keyClass,
                                        java.lang.Class&lt;V&gt;&nbsp;valueClass)</pre>
<div class="block">Get an RDD for a Hadoop SequenceFile with given key and value types.
 <p>
 '''Note:''' Because Hadoop's RecordReader class re-uses the same Writable object for each
 record, directly caching the returned RDD or directly passing it to an aggregation or shuffle
 operation will create many references to the same object.
 If you plan to directly cache, sort, or aggregate Hadoop writable objects, you should first
 copy them using a <code>map</code> function.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>path</code> - (undocumented)</dd><dd><code>keyClass</code> - (undocumented)</dd><dd><code>valueClass</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="sequenceFile(java.lang.String, int, scala.reflect.ClassTag, scala.reflect.ClassTag, scala.Function0, scala.Function0)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sequenceFile</h4>
<pre>public&nbsp;&lt;K,V&gt;&nbsp;<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;scala.Tuple2&lt;K,V&gt;&gt;&nbsp;sequenceFile(java.lang.String&nbsp;path,
                                        int&nbsp;minPartitions,
                                        scala.reflect.ClassTag&lt;K&gt;&nbsp;km,
                                        scala.reflect.ClassTag&lt;V&gt;&nbsp;vm,
                                        scala.Function0&lt;org.apache.spark.WritableConverter&lt;K&gt;&gt;&nbsp;kcf,
                                        scala.Function0&lt;org.apache.spark.WritableConverter&lt;V&gt;&gt;&nbsp;vcf)</pre>
<div class="block">Version of sequenceFile() for types implicitly convertible to Writables through a
 WritableConverter. For example, to access a SequenceFile where the keys are Text and the
 values are IntWritable, you could simply write
 <pre><code>
 sparkContext.sequenceFile[String, Int](path, ...)
 </code></pre>
 <p>
 WritableConverters are provided in a somewhat strange way (by an implicit function) to support
 both subclasses of Writable and types for which we define a converter (e.g. Int to
 IntWritable). The most natural thing would've been to have implicit objects for the
 converters, but then we couldn't have an object for every subclass of Writable (you can't
 have a parameterized singleton object). We use functions instead to create a new converter
 for the appropriate type. In addition, we pass the converter a ClassTag of its type to
 allow it to figure out the Writable class to use in the subclass case.
 <p>
 '''Note:''' Because Hadoop's RecordReader class re-uses the same Writable object for each
 record, directly caching the returned RDD or directly passing it to an aggregation or shuffle
 operation will create many references to the same object.
 If you plan to directly cache, sort, or aggregate Hadoop writable objects, you should first
 copy them using a <code>map</code> function.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>path</code> - (undocumented)</dd><dd><code>minPartitions</code> - (undocumented)</dd><dd><code>km</code> - (undocumented)</dd><dd><code>vm</code> - (undocumented)</dd><dd><code>kcf</code> - (undocumented)</dd><dd><code>vcf</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="objectFile(java.lang.String, int, scala.reflect.ClassTag)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>objectFile</h4>
<pre>public&nbsp;&lt;T&gt;&nbsp;<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;T&gt;&nbsp;objectFile(java.lang.String&nbsp;path,
                    int&nbsp;minPartitions,
                    scala.reflect.ClassTag&lt;T&gt;&nbsp;evidence$4)</pre>
<div class="block">Load an RDD saved as a SequenceFile containing serialized objects, with NullWritable keys and
 BytesWritable values that contain a serialized partition. This is still an experimental
 storage format and may not be supported exactly as is in future Spark releases. It will also
 be pretty slow if you use the default serializer (Java serialization),
 though the nice thing about it is that there's very little effort required to save arbitrary
 objects.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>path</code> - (undocumented)</dd><dd><code>minPartitions</code> - (undocumented)</dd><dd><code>evidence$4</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="checkpointFile(java.lang.String, scala.reflect.ClassTag)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>checkpointFile</h4>
<pre>protected&nbsp;&lt;T&gt;&nbsp;<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;T&gt;&nbsp;checkpointFile(java.lang.String&nbsp;path,
                        scala.reflect.ClassTag&lt;T&gt;&nbsp;evidence$5)</pre>
</li>
</ul>
<a name="union(scala.collection.Seq, scala.reflect.ClassTag)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>union</h4>
<pre>public&nbsp;&lt;T&gt;&nbsp;<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;T&gt;&nbsp;union(scala.collection.Seq&lt;<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;T&gt;&gt;&nbsp;rdds,
               scala.reflect.ClassTag&lt;T&gt;&nbsp;evidence$6)</pre>
<div class="block">Build the union of a list of RDDs.</div>
</li>
</ul>
<a name="union(org.apache.spark.rdd.RDD, scala.collection.Seq, scala.reflect.ClassTag)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>union</h4>
<pre>public&nbsp;&lt;T&gt;&nbsp;<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;T&gt;&nbsp;union(<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;T&gt;&nbsp;first,
               scala.collection.Seq&lt;<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;T&gt;&gt;&nbsp;rest,
               scala.reflect.ClassTag&lt;T&gt;&nbsp;evidence$7)</pre>
<div class="block">Build the union of a list of RDDs passed as variable-length arguments.</div>
</li>
</ul>
<a name="emptyRDD(scala.reflect.ClassTag)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>emptyRDD</h4>
<pre>public&nbsp;&lt;T&gt;&nbsp;<any>&nbsp;emptyRDD(scala.reflect.ClassTag&lt;T&gt;&nbsp;evidence$8)</pre>
<div class="block">Get an RDD that has no partitions or elements.</div>
</li>
</ul>
<a name="accumulator(java.lang.Object,org.apache.spark.AccumulatorParam)">
<!--   -->
</a><a name="accumulator(T, org.apache.spark.AccumulatorParam)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>accumulator</h4>
<pre>public&nbsp;&lt;T&gt;&nbsp;<a href="../../../org/apache/spark/Accumulator.html" title="class in org.apache.spark">Accumulator</a>&lt;T&gt;&nbsp;accumulator(T&nbsp;initialValue,
                             <a href="../../../org/apache/spark/AccumulatorParam.html" title="interface in org.apache.spark">AccumulatorParam</a>&lt;T&gt;&nbsp;param)</pre>
<div class="block">Create an <a href="../../../org/apache/spark/Accumulator.html" title="class in org.apache.spark"><code>Accumulator</code></a> variable of a given type, which tasks can "add"
 values to using the <code>+=</code> method. Only the driver can access the accumulator's <code>value</code>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>initialValue</code> - (undocumented)</dd><dd><code>param</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="accumulator(java.lang.Object,java.lang.String,org.apache.spark.AccumulatorParam)">
<!--   -->
</a><a name="accumulator(T, java.lang.String, org.apache.spark.AccumulatorParam)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>accumulator</h4>
<pre>public&nbsp;&lt;T&gt;&nbsp;<a href="../../../org/apache/spark/Accumulator.html" title="class in org.apache.spark">Accumulator</a>&lt;T&gt;&nbsp;accumulator(T&nbsp;initialValue,
                             java.lang.String&nbsp;name,
                             <a href="../../../org/apache/spark/AccumulatorParam.html" title="interface in org.apache.spark">AccumulatorParam</a>&lt;T&gt;&nbsp;param)</pre>
<div class="block">Create an <a href="../../../org/apache/spark/Accumulator.html" title="class in org.apache.spark"><code>Accumulator</code></a> variable of a given type, with a name for display
 in the Spark UI. Tasks can "add" values to the accumulator using the <code>+=</code> method. Only the
 driver can access the accumulator's <code>value</code>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>initialValue</code> - (undocumented)</dd><dd><code>name</code> - (undocumented)</dd><dd><code>param</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="accumulable(java.lang.Object,org.apache.spark.AccumulableParam)">
<!--   -->
</a><a name="accumulable(R, org.apache.spark.AccumulableParam)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>accumulable</h4>
<pre>public&nbsp;&lt;R,T&gt;&nbsp;<a href="../../../org/apache/spark/Accumulable.html" title="class in org.apache.spark">Accumulable</a>&lt;R,T&gt;&nbsp;accumulable(R&nbsp;initialValue,
                                 <a href="../../../org/apache/spark/AccumulableParam.html" title="interface in org.apache.spark">AccumulableParam</a>&lt;R,T&gt;&nbsp;param)</pre>
<div class="block">Create an <a href="../../../org/apache/spark/Accumulable.html" title="class in org.apache.spark"><code>Accumulable</code></a> shared variable, to which tasks can add values
 with <code>+=</code>. Only the driver can access the accumuable's <code>value</code>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>initialValue</code> - (undocumented)</dd><dd><code>param</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="accumulable(java.lang.Object,java.lang.String,org.apache.spark.AccumulableParam)">
<!--   -->
</a><a name="accumulable(R, java.lang.String, org.apache.spark.AccumulableParam)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>accumulable</h4>
<pre>public&nbsp;&lt;R,T&gt;&nbsp;<a href="../../../org/apache/spark/Accumulable.html" title="class in org.apache.spark">Accumulable</a>&lt;R,T&gt;&nbsp;accumulable(R&nbsp;initialValue,
                                 java.lang.String&nbsp;name,
                                 <a href="../../../org/apache/spark/AccumulableParam.html" title="interface in org.apache.spark">AccumulableParam</a>&lt;R,T&gt;&nbsp;param)</pre>
<div class="block">Create an <a href="../../../org/apache/spark/Accumulable.html" title="class in org.apache.spark"><code>Accumulable</code></a> shared variable, with a name for display in the
 Spark UI. Tasks can add values to the accumuable using the <code>+=</code> operator. Only the driver can
 access the accumuable's <code>value</code>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>initialValue</code> - (undocumented)</dd><dd><code>name</code> - (undocumented)</dd><dd><code>param</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="accumulableCollection(java.lang.Object,scala.Function1,scala.reflect.ClassTag)">
<!--   -->
</a><a name="accumulableCollection(R, scala.Function1, scala.reflect.ClassTag)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>accumulableCollection</h4>
<pre>public&nbsp;&lt;R,T&gt;&nbsp;<a href="../../../org/apache/spark/Accumulable.html" title="class in org.apache.spark">Accumulable</a>&lt;R,T&gt;&nbsp;accumulableCollection(R&nbsp;initialValue,
                                           scala.Function1&lt;R,scala.collection.generic.Growable&lt;T&gt;&gt;&nbsp;evidence$9,
                                           scala.reflect.ClassTag&lt;R&gt;&nbsp;evidence$10)</pre>
<div class="block">Create an accumulator from a "mutable collection" type.
 <p>
 Growable and TraversableOnce are the standard APIs that guarantee += and ++=, implemented by
 standard mutable collections. So you can use this with mutable Map, Set, etc.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>initialValue</code> - (undocumented)</dd><dd><code>evidence$9</code> - (undocumented)</dd><dd><code>evidence$10</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="broadcast(java.lang.Object,scala.reflect.ClassTag)">
<!--   -->
</a><a name="broadcast(T, scala.reflect.ClassTag)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>broadcast</h4>
<pre>public&nbsp;&lt;T&gt;&nbsp;<a href="../../../org/apache/spark/broadcast/Broadcast.html" title="class in org.apache.spark.broadcast">Broadcast</a>&lt;T&gt;&nbsp;broadcast(T&nbsp;value,
                         scala.reflect.ClassTag&lt;T&gt;&nbsp;evidence$11)</pre>
<div class="block">Broadcast a read-only variable to the cluster, returning a
 <a href="../../../org/apache/spark/broadcast/Broadcast.html" title="class in org.apache.spark.broadcast"><code>Broadcast</code></a> object for reading it in distributed functions.
 The variable will be sent to each cluster only once.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - (undocumented)</dd><dd><code>evidence$11</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="addFile(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addFile</h4>
<pre>public&nbsp;void&nbsp;addFile(java.lang.String&nbsp;path)</pre>
<div class="block">Add a file to be downloaded with this Spark job on every node.
 The <code>path</code> passed can be either a local file, a file in HDFS (or other Hadoop-supported
 filesystems), or an HTTP, HTTPS or FTP URI.  To access the file in Spark jobs,
 use <code>SparkFiles.get(fileName)</code> to find its download location.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>path</code> - (undocumented)</dd></dl>
</li>
</ul>
<a name="addFile(java.lang.String, boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addFile</h4>
<pre>public&nbsp;void&nbsp;addFile(java.lang.String&nbsp;path,
           boolean&nbsp;recursive)</pre>
<div class="block">Add a file to be downloaded with this Spark job on every node.
 The <code>path</code> passed can be either a local file, a file in HDFS (or other Hadoop-supported
 filesystems), or an HTTP, HTTPS or FTP URI.  To access the file in Spark jobs,
 use <code>SparkFiles.get(fileName)</code> to find its download location.
 <p>
 A directory can be given if the recursive option is set to true. Currently directories are only
 supported for Hadoop-supported filesystems.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>path</code> - (undocumented)</dd><dd><code>recursive</code> - (undocumented)</dd></dl>
</li>
</ul>
<a name="addSparkListener(org.apache.spark.scheduler.SparkListener)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addSparkListener</h4>
<pre>public&nbsp;void&nbsp;addSparkListener(<a href="../../../org/apache/spark/scheduler/SparkListener.html" title="interface in org.apache.spark.scheduler">SparkListener</a>&nbsp;listener)</pre>
<div class="block">:: DeveloperApi ::
 Register a listener to receive up-calls from events that happen during execution.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>listener</code> - (undocumented)</dd></dl>
</li>
</ul>
<a name="requestExecutors(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>requestExecutors</h4>
<pre>public&nbsp;boolean&nbsp;requestExecutors(int&nbsp;numAdditionalExecutors)</pre>
<div class="block">:: DeveloperApi ::
 Request an additional number of executors from the cluster manager.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>numAdditionalExecutors</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>whether the request is received.</dd></dl>
</li>
</ul>
<a name="killExecutors(scala.collection.Seq)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>killExecutors</h4>
<pre>public&nbsp;boolean&nbsp;killExecutors(scala.collection.Seq&lt;java.lang.String&gt;&nbsp;executorIds)</pre>
<div class="block">:: DeveloperApi ::
 Request that the cluster manager kill the specified executors.
 <p>
 Note: This is an indication to the cluster manager that the application wishes to adjust
 its resource usage downwards. If the application wishes to replace the executors it kills
 through this method with new ones, it should follow up explicitly with a call to
 {{SparkContext#requestExecutors}}.
 <p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>executorIds</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>whether the request is received.</dd></dl>
</li>
</ul>
<a name="killExecutor(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>killExecutor</h4>
<pre>public&nbsp;boolean&nbsp;killExecutor(java.lang.String&nbsp;executorId)</pre>
<div class="block">:: DeveloperApi ::
 Request that the cluster manager kill the specified executor.
 <p>
 Note: This is an indication to the cluster manager that the application wishes to adjust
 its resource usage downwards. If the application wishes to replace the executor it kills
 through this method with a new one, it should follow up explicitly with a call to
 {{SparkContext#requestExecutors}}.
 <p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>executorId</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>whether the request is received.</dd></dl>
</li>
</ul>
<a name="version()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>version</h4>
<pre>public&nbsp;java.lang.String&nbsp;version()</pre>
<div class="block">The version of Spark on which this application is running.</div>
</li>
</ul>
<a name="getExecutorMemoryStatus()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getExecutorMemoryStatus</h4>
<pre>public&nbsp;scala.collection.Map&lt;java.lang.String,scala.Tuple2&lt;java.lang.Object,java.lang.Object&gt;&gt;&nbsp;getExecutorMemoryStatus()</pre>
<div class="block">Return a map from the slave to the max memory available for caching and the remaining
 memory available for caching.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="getRDDStorageInfo()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRDDStorageInfo</h4>
<pre>public&nbsp;<a href="../../../org/apache/spark/storage/RDDInfo.html" title="class in org.apache.spark.storage">RDDInfo</a>[]&nbsp;getRDDStorageInfo()</pre>
<div class="block">:: DeveloperApi ::
 Return information about what RDDs are cached, if they are in mem or on disk, how much space
 they take, etc.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="getPersistentRDDs()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPersistentRDDs</h4>
<pre>public&nbsp;scala.collection.Map&lt;java.lang.Object,<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;?&gt;&gt;&nbsp;getPersistentRDDs()</pre>
<div class="block">Returns an immutable map of RDDs that have marked themselves as persistent via cache() call.
 Note that this does not necessarily mean the caching or computation was successful.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="getExecutorStorageStatus()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getExecutorStorageStatus</h4>
<pre>public&nbsp;<a href="../../../org/apache/spark/storage/StorageStatus.html" title="class in org.apache.spark.storage">StorageStatus</a>[]&nbsp;getExecutorStorageStatus()</pre>
<div class="block">:: DeveloperApi ::
 Return information about blocks stored in all of the slaves</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="getAllPools()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAllPools</h4>
<pre>public&nbsp;scala.collection.Seq&lt;org.apache.spark.scheduler.Schedulable&gt;&nbsp;getAllPools()</pre>
<div class="block">:: DeveloperApi ::
 Return pools for fair scheduler</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="getPoolForName(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPoolForName</h4>
<pre>public&nbsp;scala.Option&lt;org.apache.spark.scheduler.Schedulable&gt;&nbsp;getPoolForName(java.lang.String&nbsp;pool)</pre>
<div class="block">:: DeveloperApi ::
 Return the pool associated with the given name, if one exists</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>pool</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="getSchedulingMode()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSchedulingMode</h4>
<pre>public&nbsp;scala.Enumeration.Value&nbsp;getSchedulingMode()</pre>
<div class="block">Return current scheduling mode</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="clearFiles()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clearFiles</h4>
<pre>public&nbsp;void&nbsp;clearFiles()</pre>
<div class="block">Clear the job's list of files added by <code>addFile</code> so that they do not get downloaded to
 any new nodes.</div>
</li>
</ul>
<a name="addJar(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addJar</h4>
<pre>public&nbsp;void&nbsp;addJar(java.lang.String&nbsp;path)</pre>
<div class="block">Adds a JAR dependency for all tasks to be executed on this SparkContext in the future.
 The <code>path</code> passed can be either a local file, a file in HDFS (or other Hadoop-supported
 filesystems), an HTTP, HTTPS or FTP URI, or local:/path for a file on every worker node.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>path</code> - (undocumented)</dd></dl>
</li>
</ul>
<a name="clearJars()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clearJars</h4>
<pre>public&nbsp;void&nbsp;clearJars()</pre>
<div class="block">Clear the job's list of JARs added by <code>addJar</code> so that they do not get downloaded to
 any new nodes.</div>
</li>
</ul>
<a name="stop()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>stop</h4>
<pre>public&nbsp;void&nbsp;stop()</pre>
</li>
</ul>
<a name="setCallSite(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCallSite</h4>
<pre>public&nbsp;void&nbsp;setCallSite(java.lang.String&nbsp;shortCallSite)</pre>
<div class="block">Set the thread-local property for overriding the call sites
 of actions and RDDs.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>shortCallSite</code> - (undocumented)</dd></dl>
</li>
</ul>
<a name="clearCallSite()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clearCallSite</h4>
<pre>public&nbsp;void&nbsp;clearCallSite()</pre>
<div class="block">Clear the thread-local property for overriding the call sites
 of actions and RDDs.</div>
</li>
</ul>
<a name="runJob(org.apache.spark.rdd.RDD, scala.Function2, scala.collection.Seq, scala.Function2, scala.reflect.ClassTag)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>runJob</h4>
<pre>public&nbsp;&lt;T,U&gt;&nbsp;void&nbsp;runJob(<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;T&gt;&nbsp;rdd,
                scala.Function2&lt;<a href="../../../org/apache/spark/TaskContext.html" title="class in org.apache.spark">TaskContext</a>,scala.collection.Iterator&lt;T&gt;,U&gt;&nbsp;func,
                scala.collection.Seq&lt;java.lang.Object&gt;&nbsp;partitions,
                scala.Function2&lt;java.lang.Object,U,scala.runtime.BoxedUnit&gt;&nbsp;resultHandler,
                scala.reflect.ClassTag&lt;U&gt;&nbsp;evidence$12)</pre>
<div class="block">Run a function on a given set of partitions in an RDD and pass the results to the given
 handler function. This is the main entry point for all actions in Spark.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>rdd</code> - (undocumented)</dd><dd><code>func</code> - (undocumented)</dd><dd><code>partitions</code> - (undocumented)</dd><dd><code>resultHandler</code> - (undocumented)</dd><dd><code>evidence$12</code> - (undocumented)</dd></dl>
</li>
</ul>
<a name="runJob(org.apache.spark.rdd.RDD, scala.Function2, scala.collection.Seq, scala.reflect.ClassTag)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>runJob</h4>
<pre>public&nbsp;&lt;T,U&gt;&nbsp;java.lang.Object&nbsp;runJob(<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;T&gt;&nbsp;rdd,
                            scala.Function2&lt;<a href="../../../org/apache/spark/TaskContext.html" title="class in org.apache.spark">TaskContext</a>,scala.collection.Iterator&lt;T&gt;,U&gt;&nbsp;func,
                            scala.collection.Seq&lt;java.lang.Object&gt;&nbsp;partitions,
                            scala.reflect.ClassTag&lt;U&gt;&nbsp;evidence$13)</pre>
<div class="block">Run a function on a given set of partitions in an RDD and return the results as an array.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>rdd</code> - (undocumented)</dd><dd><code>func</code> - (undocumented)</dd><dd><code>partitions</code> - (undocumented)</dd><dd><code>evidence$13</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="runJob(org.apache.spark.rdd.RDD, scala.Function1, scala.collection.Seq, scala.reflect.ClassTag)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>runJob</h4>
<pre>public&nbsp;&lt;T,U&gt;&nbsp;java.lang.Object&nbsp;runJob(<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;T&gt;&nbsp;rdd,
                            scala.Function1&lt;scala.collection.Iterator&lt;T&gt;,U&gt;&nbsp;func,
                            scala.collection.Seq&lt;java.lang.Object&gt;&nbsp;partitions,
                            scala.reflect.ClassTag&lt;U&gt;&nbsp;evidence$14)</pre>
<div class="block">Run a job on a given set of partitions of an RDD, but take a function of type
 <code>Iterator[T] =&gt; U</code> instead of <code>(TaskContext, Iterator[T]) =&gt; U</code>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>rdd</code> - (undocumented)</dd><dd><code>func</code> - (undocumented)</dd><dd><code>partitions</code> - (undocumented)</dd><dd><code>evidence$14</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="runJob(org.apache.spark.rdd.RDD, scala.Function2, scala.collection.Seq, boolean, scala.Function2, scala.reflect.ClassTag)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>runJob</h4>
<pre>public&nbsp;&lt;T,U&gt;&nbsp;void&nbsp;runJob(<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;T&gt;&nbsp;rdd,
                scala.Function2&lt;<a href="../../../org/apache/spark/TaskContext.html" title="class in org.apache.spark">TaskContext</a>,scala.collection.Iterator&lt;T&gt;,U&gt;&nbsp;func,
                scala.collection.Seq&lt;java.lang.Object&gt;&nbsp;partitions,
                boolean&nbsp;allowLocal,
                scala.Function2&lt;java.lang.Object,U,scala.runtime.BoxedUnit&gt;&nbsp;resultHandler,
                scala.reflect.ClassTag&lt;U&gt;&nbsp;evidence$15)</pre>
<div class="block">Run a function on a given set of partitions in an RDD and pass the results to the given
 handler function. This is the main entry point for all actions in Spark.
 <p>
 The allowLocal flag is deprecated as of Spark 1.5.0+.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>rdd</code> - (undocumented)</dd><dd><code>func</code> - (undocumented)</dd><dd><code>partitions</code> - (undocumented)</dd><dd><code>allowLocal</code> - (undocumented)</dd><dd><code>resultHandler</code> - (undocumented)</dd><dd><code>evidence$15</code> - (undocumented)</dd></dl>
</li>
</ul>
<a name="runJob(org.apache.spark.rdd.RDD, scala.Function2, scala.collection.Seq, boolean, scala.reflect.ClassTag)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>runJob</h4>
<pre>public&nbsp;&lt;T,U&gt;&nbsp;java.lang.Object&nbsp;runJob(<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;T&gt;&nbsp;rdd,
                            scala.Function2&lt;<a href="../../../org/apache/spark/TaskContext.html" title="class in org.apache.spark">TaskContext</a>,scala.collection.Iterator&lt;T&gt;,U&gt;&nbsp;func,
                            scala.collection.Seq&lt;java.lang.Object&gt;&nbsp;partitions,
                            boolean&nbsp;allowLocal,
                            scala.reflect.ClassTag&lt;U&gt;&nbsp;evidence$16)</pre>
<div class="block">Run a function on a given set of partitions in an RDD and return the results as an array.
 <p>
 The allowLocal flag is deprecated as of Spark 1.5.0+.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>rdd</code> - (undocumented)</dd><dd><code>func</code> - (undocumented)</dd><dd><code>partitions</code> - (undocumented)</dd><dd><code>allowLocal</code> - (undocumented)</dd><dd><code>evidence$16</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="runJob(org.apache.spark.rdd.RDD, scala.Function1, scala.collection.Seq, boolean, scala.reflect.ClassTag)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>runJob</h4>
<pre>public&nbsp;&lt;T,U&gt;&nbsp;java.lang.Object&nbsp;runJob(<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;T&gt;&nbsp;rdd,
                            scala.Function1&lt;scala.collection.Iterator&lt;T&gt;,U&gt;&nbsp;func,
                            scala.collection.Seq&lt;java.lang.Object&gt;&nbsp;partitions,
                            boolean&nbsp;allowLocal,
                            scala.reflect.ClassTag&lt;U&gt;&nbsp;evidence$17)</pre>
<div class="block">Run a job on a given set of partitions of an RDD, but take a function of type
 <code>Iterator[T] =&gt; U</code> instead of <code>(TaskContext, Iterator[T]) =&gt; U</code>.
 <p>
 The allowLocal argument is deprecated as of Spark 1.5.0+.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>rdd</code> - (undocumented)</dd><dd><code>func</code> - (undocumented)</dd><dd><code>partitions</code> - (undocumented)</dd><dd><code>allowLocal</code> - (undocumented)</dd><dd><code>evidence$17</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="runJob(org.apache.spark.rdd.RDD, scala.Function2, scala.reflect.ClassTag)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>runJob</h4>
<pre>public&nbsp;&lt;T,U&gt;&nbsp;java.lang.Object&nbsp;runJob(<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;T&gt;&nbsp;rdd,
                            scala.Function2&lt;<a href="../../../org/apache/spark/TaskContext.html" title="class in org.apache.spark">TaskContext</a>,scala.collection.Iterator&lt;T&gt;,U&gt;&nbsp;func,
                            scala.reflect.ClassTag&lt;U&gt;&nbsp;evidence$18)</pre>
<div class="block">Run a job on all partitions in an RDD and return the results in an array.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>rdd</code> - (undocumented)</dd><dd><code>func</code> - (undocumented)</dd><dd><code>evidence$18</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="runJob(org.apache.spark.rdd.RDD, scala.Function1, scala.reflect.ClassTag)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>runJob</h4>
<pre>public&nbsp;&lt;T,U&gt;&nbsp;java.lang.Object&nbsp;runJob(<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;T&gt;&nbsp;rdd,
                            scala.Function1&lt;scala.collection.Iterator&lt;T&gt;,U&gt;&nbsp;func,
                            scala.reflect.ClassTag&lt;U&gt;&nbsp;evidence$19)</pre>
<div class="block">Run a job on all partitions in an RDD and return the results in an array.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>rdd</code> - (undocumented)</dd><dd><code>func</code> - (undocumented)</dd><dd><code>evidence$19</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="runJob(org.apache.spark.rdd.RDD, scala.Function2, scala.Function2, scala.reflect.ClassTag)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>runJob</h4>
<pre>public&nbsp;&lt;T,U&gt;&nbsp;void&nbsp;runJob(<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;T&gt;&nbsp;rdd,
                scala.Function2&lt;<a href="../../../org/apache/spark/TaskContext.html" title="class in org.apache.spark">TaskContext</a>,scala.collection.Iterator&lt;T&gt;,U&gt;&nbsp;processPartition,
                scala.Function2&lt;java.lang.Object,U,scala.runtime.BoxedUnit&gt;&nbsp;resultHandler,
                scala.reflect.ClassTag&lt;U&gt;&nbsp;evidence$20)</pre>
<div class="block">Run a job on all partitions in an RDD and pass the results to a handler function.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>rdd</code> - (undocumented)</dd><dd><code>processPartition</code> - (undocumented)</dd><dd><code>resultHandler</code> - (undocumented)</dd><dd><code>evidence$20</code> - (undocumented)</dd></dl>
</li>
</ul>
<a name="runJob(org.apache.spark.rdd.RDD, scala.Function1, scala.Function2, scala.reflect.ClassTag)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>runJob</h4>
<pre>public&nbsp;&lt;T,U&gt;&nbsp;void&nbsp;runJob(<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;T&gt;&nbsp;rdd,
                scala.Function1&lt;scala.collection.Iterator&lt;T&gt;,U&gt;&nbsp;processPartition,
                scala.Function2&lt;java.lang.Object,U,scala.runtime.BoxedUnit&gt;&nbsp;resultHandler,
                scala.reflect.ClassTag&lt;U&gt;&nbsp;evidence$21)</pre>
<div class="block">Run a job on all partitions in an RDD and pass the results to a handler function.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>rdd</code> - (undocumented)</dd><dd><code>processPartition</code> - (undocumented)</dd><dd><code>resultHandler</code> - (undocumented)</dd><dd><code>evidence$21</code> - (undocumented)</dd></dl>
</li>
</ul>
<a name="runApproximateJob(org.apache.spark.rdd.RDD, scala.Function2, , long)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>runApproximateJob</h4>
<pre>public&nbsp;&lt;T,U,R&gt;&nbsp;<a href="../../../org/apache/spark/partial/PartialResult.html" title="class in org.apache.spark.partial">PartialResult</a>&lt;R&gt;&nbsp;runApproximateJob(<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;T&gt;&nbsp;rdd,
                                         scala.Function2&lt;<a href="../../../org/apache/spark/TaskContext.html" title="class in org.apache.spark">TaskContext</a>,scala.collection.Iterator&lt;T&gt;,U&gt;&nbsp;func,
                                         <any>&nbsp;evaluator,
                                         long&nbsp;timeout)</pre>
<div class="block">:: DeveloperApi ::
 Run a job that can return approximate results.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>rdd</code> - (undocumented)</dd><dd><code>func</code> - (undocumented)</dd><dd><code>evaluator</code> - (undocumented)</dd><dd><code>timeout</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="submitJob(org.apache.spark.rdd.RDD, scala.Function1, scala.collection.Seq, scala.Function2, scala.Function0)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>submitJob</h4>
<pre>public&nbsp;&lt;T,U,R&gt;&nbsp;<a href="../../../org/apache/spark/SimpleFutureAction.html" title="class in org.apache.spark">SimpleFutureAction</a>&lt;R&gt;&nbsp;submitJob(<a href="../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a>&lt;T&gt;&nbsp;rdd,
                                      scala.Function1&lt;scala.collection.Iterator&lt;T&gt;,U&gt;&nbsp;processPartition,
                                      scala.collection.Seq&lt;java.lang.Object&gt;&nbsp;partitions,
                                      scala.Function2&lt;java.lang.Object,U,scala.runtime.BoxedUnit&gt;&nbsp;resultHandler,
                                      scala.Function0&lt;R&gt;&nbsp;resultFunc)</pre>
<div class="block">:: Experimental ::
 Submit a job for execution and return a FutureJob holding the result.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>rdd</code> - (undocumented)</dd><dd><code>processPartition</code> - (undocumented)</dd><dd><code>partitions</code> - (undocumented)</dd><dd><code>resultHandler</code> - (undocumented)</dd><dd><code>resultFunc</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="cancelJobGroup(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cancelJobGroup</h4>
<pre>public&nbsp;void&nbsp;cancelJobGroup(java.lang.String&nbsp;groupId)</pre>
<div class="block">Cancel active jobs for the specified group. See <code>org.apache.spark.SparkContext.setJobGroup</code>
 for more information.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>groupId</code> - (undocumented)</dd></dl>
</li>
</ul>
<a name="cancelAllJobs()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cancelAllJobs</h4>
<pre>public&nbsp;void&nbsp;cancelAllJobs()</pre>
<div class="block">Cancel all jobs that have been scheduled or are running.</div>
</li>
</ul>
<a name="setCheckpointDir(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCheckpointDir</h4>
<pre>public&nbsp;void&nbsp;setCheckpointDir(java.lang.String&nbsp;directory)</pre>
<div class="block">Set the directory under which RDDs are going to be checkpointed. The directory must
 be a HDFS path if running on a cluster.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>directory</code> - (undocumented)</dd></dl>
</li>
</ul>
<a name="getCheckpointDir()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCheckpointDir</h4>
<pre>public&nbsp;scala.Option&lt;java.lang.String&gt;&nbsp;getCheckpointDir()</pre>
</li>
</ul>
<a name="defaultParallelism()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>defaultParallelism</h4>
<pre>public&nbsp;int&nbsp;defaultParallelism()</pre>
<div class="block">Default level of parallelism to use when not given by user (e.g. parallelize and makeRDD).</div>
</li>
</ul>
<a name="defaultMinSplits()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>defaultMinSplits</h4>
<pre>public&nbsp;int&nbsp;defaultMinSplits()</pre>
<div class="block">Default min number of partitions for Hadoop RDDs when not given by user</div>
</li>
</ul>
<a name="defaultMinPartitions()">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>defaultMinPartitions</h4>
<pre>public&nbsp;int&nbsp;defaultMinPartitions()</pre>
<div class="block">Default min number of partitions for Hadoop RDDs when not given by user
 Notice that we use math.min so the "defaultMinPartitions" cannot be higher than 2.
 The reasons for this are discussed in https://github.com/mesos/spark/pull/718</div>
<dl><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/SparkConf.html" title="class in org.apache.spark"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../org/apache/spark/SparkContext.DoubleAccumulatorParam$.html" title="class in org.apache.spark"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?org/apache/spark/SparkContext.html" target="_top">Frames</a></li>
<li><a href="SparkContext.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><a href="#nested_class_summary">Nested</a>&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>