spark aggregateByKey使用java版
RDDaggregateByKey操作官方api:aggregateByKey(U zeroValue, Function2<U,V,U> seqFunc, Function2<U,U,U> combFunc)U zeroValue为定义初始数据;Function2<U,V,U> seqFunc中第一个U是初始数据的U,v是传入数据,第二个U是返回数据;Func...
原创
2018-04-27 15:24:22 ·
1094 阅读 ·
0 评论