Action算子
- reduce
- collect
- count
- first
- take
- takeSample
- takeOrdered
- saveAsTextFile
- saveAsSequenceFile
- saveAsObjectFile
- countByKey
- foreach
Shuffle算子
- distinct
- reduceByKey
- groupBy
- groupByKey
- aggregateByKey
- combineByKey
- sortByKey
- sortBy
- coalesce
- repartition
- intersection
- subtract
- subtractByKey
- join
- leftOuterJoin
Transformation算子
- map
- filter
- flatMap
- mapPartitions
- mapPartitionsWithIndex
- sample
- union
- intersection
- distinct
- groupByKey
- reduceByKey
- aggregateByKey
- sortByKey
- join
- cogroup
- cartesian
- pipe
- coalesce
- repartition
- repartitionAndSortWithinPartitions
来源:oschina
链接:https://my.oschina.net/chinahufei/blog/4310640