- 转换过滤算子
map : (map flatMap mapPartitions mapPartitionWithIndex) filter
- ByKey算子
分组:groupByKey 排序:sortByKey 统计:countByKey reduce处理:(reduce reduceByKey aggregateByKey)
- 获取算子
take takeSample collect saveAsTextFile
- 两个集合算子
交集:intersection 并集:union 笛卡尔积:cartesian join cogroup
- 单独集合处理算子
去重:distinct 统计:count
- partition管理算子
压缩:coalesce 重置:repartition
转载于:https://my.oschina.net/u/947726/blog/740872