摘要:
sortBy函数源码:接收三个参数,第一个参数必须,第二个和第三个参数非必要 def sortBy[K]( f: (T) => K, ascending: Boolean = true, numPartitions: Int = this.partitions.length) (implicit o 阅读全文
posted @ 2018-01-05 17:49
麻雀虽小五脏俱全
阅读(29372)
评论(1)
推荐(0)
摘要:
sortByKey函数作用于Key-Value形式的RDD,并对Key进行排序。 阅读全文
posted @ 2018-01-05 16:20
麻雀虽小五脏俱全
阅读(6870)
评论(0)
推荐(0)

浙公网安备 33010602011771号