scala 函数式编程 foreach, map , flatmap , filter , exists ,sorted ,groupBy ,reduce ,fold

函数式编程 咱们未来使用Spark/Flink的大量业务代码都会使用到函数式编程。下面的这些操做是学习的重点。es6 遍历(foreach) 映射(map) 映射扁平化(flatmap) 过滤(filter) 是否存在(exists) 排序(sorted、sortBy、sortWith) 分组(groupBy) 聚合计算(reduce) 折叠(fold) 遍历 | foreach 以前,学习过了使
相关文章
相关标签/搜索