| Operation's group | Transformations | Actions | ||
|---|---|---|---|---|
| Narrow | Wide | Distributed | Driver | |
| General | 1 | 2 | 3 | 4 |
| Math / Statistics | 5 | 6 | 7 | 8 |
| Set Theory / Relational | 9 | 10 | 11 | 12 |
| Data Structure / InOut | 13 | 14 | 15 | 16 |
| Resilient Distributed Datasets | Operation | Number | ||
| RDD | aggregate | 4 | ||
| coalesce | 13,14 | |||
| collect | 4 | |||
| distinct | 10 | |||
| filter | 1 | |||
| flatMap | 1 | |||
| getNumPartitions | 16 | |||
| keyBy | 13 | |||
| map | 1 | |||
| mapPartitions | 1 | |||
| mapPartitionsWithIndex | 1 | |||
| max | 8 | |||
| mean | 8 | |||
| reduce | 4 | |||
| sample | 5 | |||
| saveAsTextFile | 15 | |||
| stdev | 8 | |||
| sum | 8 | |||
| union | 9 | |||
| zip | 9 | |||
| PairRDD | countByKey | 8 | ||
| join | 10 | |||
| partitionBy | 14 | |||
| reduceByKey | 2 | |||