spark各种算子

transformation(返回值为RDD)

map
flatMap
filter
mapPartitions
mapPartitionsWithIndex
sample
union
subtract
intersection
distinct
reduceByKey
groupByKey
aggregateByKey
foldByKey
combineByKey
sortByKey
join
cogroup
cartesian
pipe
coalesce
repartition
repartitionAndSortWithinPartitions

action

reduce
collect
count
first
takeSample
take
takeOrdered
saveAsTextFile
saveAsSequenceFile
saveAsObjectFile
countByKey
foreach
发布了102 篇原创文章 · 获赞 31 · 访问量 15万+

猜你喜欢

转载自blog.csdn.net/qq_29630271/article/details/103129207
今日推荐