RDD总结

---前面是对算子的简单概述--后面有实例---[pair]表示一个元组 ;如("ty",12)   With必须添加分区的类型---------------

aggregate   聚合每个分区的值。每个分区中的聚合变量都是用零值初始化的。
aggregateByKey   将相同的key进行聚合
cartesian   笛卡尔积
checkpoint   检查点
coalesce,repartition   重新分区,其中repartition调用coalesce方法

cogroup, groupWith 

pair 分组压缩compact, groupWith [Pair]封装了cogroup方法
collect, toArray    聚集操作(单个元素)如list或Array集合展示
collectAsMap   [pair] 聚集操作(两个元组做为一组,map的键值)map--(key,value)
combineByKey [pair]  收集操作(key相同的元组放在一起)
compute    用户不应直接调用此函数--------------
context,sparkContext    获取上下文,获取SparkContext的实例变量
count   得到Array、List中元素的个数。和list.length功能一样
countApprox   标记为实验特征!实验特性目前不包括在本文档中!…………………………
countApproxDistinct   计算单个不同值的近似数目--【没有用过,不知道干嘛用】

countApprox

DistinctByKey

[pair] 计算(key,value)不同值的近似数目
countByKey [pair] 统计key相同的个数,并以(key,count)的形式返回
countByKeyApprox [pair] 统计key近似相同的个数,并以(key,count)的形式返回
countByValue   用于List中;list中元素相同的进行个数求和,同时支持list中的元组
countByValueApprox   用于List中;list中元素近似相同的进行个数求和,同时支持list中的元组
dependencies   返回RDD的依赖,使用b.dependencies.length获取依赖的个数
distinct   List中,去除重复的元素
first   获取list中的第一给元素
filter   过滤集合中的元素,map同样可以来做过滤,但是不成立时会返回()--Unit对象
filterByRange[Ordered]   添加一个范围,而这个返回中的元素必须能调用compareTo方法
filterWith  

这里的With指定分区的类型,该类型会在后面的括号中使用

            这里的x是:x=> x将分区中的数据项赋值给x,并将x的类型指定为b==  后面               的 值 的类型相同。
            这里的b是分区索引号,a有5个分区,0,1,2,3,4;则b的值可以为0,1,2,3,4

flatMap   将多个集合压平,放到一起
flatMapValues [Pair] (key,value)的键值对压缩
flatMapWith   每个分区压缩时,将传入分区的类型
fold   合并每个分区的值。每个分区中的聚合变量都是用零值初始化的
foldByKey [Pair] (key,value)的分区聚合
foreach   为每个数据执行一次操纵
foreachPartition   每个分区各自执行foreach操作
foreachWith   迭代每个数据项,并指定每个分区索引的类型,默认为Int,但是可以变成String,tuple等,则在with后面的参数中来操作
fullOuterJoin [Pair] 两个(key,value)的数据进行连接聚合---饭后一个带(k,v)的元组。
(book,(Some(4),None)), (mouse,(None,Some(4)))
generator,setGenerator   打印依赖图时,允许设置一个字符串并绑定到RDD的名字后面,设置rd的别名
getCheckpointFile   返回检查点文件的路径,如果RDD还没有找到这个检测点,则返回null。
preferredLocations   返回首先主机
getStorageLevel   检索RDD当前设置的存储级别
glom   组装一个包含分区所有元素的数组 类似于----视图
groupBy   按照标签进行分组//even和odd代表两个组,如果表达式为true,则放入even,否则放入odd中 a.groupBy(x => { if (x % 2 == 0) "even" else "odd" }).collect
groupByKey [Pair] (k,v)来进行分组(4,ArrayBuffer(lion)), (6,ArrayBuffer(spider)
histogram[Double]   并创建一个直方图
id   获取RDD的ID 检索由其设备上下文分配给RDD的ID
intersection   /中间相同额数据集
isCheckpointed   是否有检测点
iterator   返回一个通用的迭代器
join [pair] (k,v)值相同的进行一个连接返回一个新的元组(k,(v1,v2))
keyBy   将List中的每个元素转成(k,v);其中k由用户来设计如a.keyBy(_.length)
keys [pair] 将list中的所有(k,v)中的k取出来
leftOuterJoin [pair] k,v)进行左外连接
lookup [pair] 根据k在list中(k,v)中查找元素
map   处理每行数据
mapPartitions   将每个分区执行map的处理
mapPartitionsWithContext   自定义一个方法,然后就可以获取执行时的一些信息
mapPartitionsWithIndex   打印每个分区的内容,需要自己写func
mapPartitionsWithSplit   这个方法在API中被标记为已废弃...........................
mapValues [pair] 将输入进来的tuple(k,v)直接操作v的结果
mapWith   a => new scala.util.Random)指后面分区r的数据类型,在每个分区中执行一次这个操作。 (x,r)----r代指一个分区,该处为1,2,3, x代表每个分区的数据项.With操作都要指定后面操作时的实例对象。比如这里是一个随机生成Random对象。也可以是一个字符串 
max   得到list中最大的值
mean [Double], meanApprox [Double]    得到整个list的平均值
min   得到最小值
name, setName   允许使用自定义名称标记RDD。
partitionBy [Pair] (k,v)
partitioner    
partitions   获取partitions的信息。如得当分区数量r.partitions.length
persist, cache    设置存储级别
pipe   获取每个分区的RDD数据,并通过stdin将其发送到shell命令。
randomSplit   随机切分----机器学习
reduce   求和

reduceByKey [Pair]

reduceByKeyLocally[Pair]

Pair 根据(k,v)来求和并将key相同的放在一个(k,多个v)
reduceByKeyToDriver[Pair]    
repartition     重置分区数
repartitionAndSortWithPartitions [Ordered] 重置分区数并进行排序
rightOuterJoin [Pair]   右外连接
sample   随机生成a.sample(false, 0.1, 0).count【没有用过,不知道干嘛用】
sampleByKey [Pair] 随机生成【没有用过,不知道干嘛用】
sampleByKeyExact [Pair]  随机生成【没有用过,不知道干嘛用】
saveAsHodoopFile [Pair] 将(k,v)结果保存到hadoop中
saveAsHadoopDataset [Pair] 将(k,v)结果保存到hadoop数据集中
saveAsNewAPIHadoopFile [Pair] 将(k,v)结果保存到新hadoop中
saveAsObjectFile   以对象进行保存
saveAsSequenceFile [SeqFile] 以序列进行保存
saveAsTextFile   以文本文件进行保存
stats [Double] 获取均值、方差和标准差。
sortBy   指定函数进行排序:y.sortBy(c => c, false).collect
sortByKey [Ordered]      按照key进行排序c.sortByKey(true).collect//true是升序,false降序
stdev [Double], sampleStdev [Double]    
subtract   减法
subtractByKey [Pair] (k,v)k相同的做减法
sum [Double], sumApprox[Double]     求和
take   获取前n项  take(n)
takeOrdered   进行排序后在调用take(n)
takeSample   获取一些样品-----大数据
treeAggregate   默认情况下,使用的树是depth 2,但是这可以通过depth参数进行更改。
treeReduce   它的工作方式与reduce类似,只是在多级树模式中减少了RDD的元素。
toDebugString   返回一个字符串,该字符串包含关于RDD及其依赖项的调试信息
toJavaRDD   将这个RDD对象嵌入到JavaRDD对象中并返回它。
toLocalIterator   将RDD转换为主节点上的scala迭代器
top   排序后取前二个 c.top(2)
toString   转换成一个人类可读的RDD文本描述。
union, ++      求和
unpersist   反序列化
values [Pair]    得到(k,v)的所有v返回一个()
variance [Double], sampleVariance [Double]   方差
zip   多个list压缩在一起
zipPartitions   类似于zip。但是提供了对压缩过程的更多控制。
zipWithIndex   索引从0开始。如果RDD分布在多个分区中,则会启动spark作业来执行此操作。
zipWithUniquId    

aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

例子:


val z = sc.parallelize(List(1,2,3,4,5,6), 2)

// 让我们首先用分区标签打印出RDD的内容
def myfunc(index: Int, iter: Iterator[(Int)]) : Iterator[String] = {
  iter.map(x => "[partID:" +  index + ", val: " + x + "]")
}
z.mapPartitionsWithIndex(myfunc).collect
res28: Array[String] = Array(
[partID:0, val: 1], [partID:0, val: 2], 
[partID:0, val: 3], [partID:1, val: 4], 
[partID:1, val: 5], [partID:1, val: 6])
z.aggregate(0)(math.max(_, _), _ + _)
res40: Int = 9
//这个示例返回16,因为初始值是5
//分区0的约简为max(5,1,2,3) = 5
//分区1的约简为最大值(5,4,5,6)= 6
//最终分区的reduce为5 + 5 + 6 = 16
//注意,最终的缩小包括初始值
z.aggregate(5)(math.max(_, _), _ + _)
res29: Int = 16


val z = sc.parallelize(List("a","b","c","d","e","f"),2)

// 让我们首先用分区标签打印出RDD的内容
def myfunc(index: Int, iter: Iterator[(String)]) : Iterator[String] = {
  iter.map(x => "[partID:" +  index + ", val: " + x + "]")
}

z.mapPartitionsWithIndex(myfunc).collect
res31: Array[String] = Array([partID:0, val: a], [partID:0, val: b],
 [partID:0, val: c], [partID:1, val: d],
 [partID:1, val: e], [partID:1, val: f])

z.aggregate("")(_ + _, _+_)
res115: String = abcdef

//看看这里初始值“x”是如何应用三次的。
// -每个分区一次
// -将第二个reduce函数中的所有分区合并一次。
z.aggregate("x")(_ + _, _+_)
res116: String = xxdefxabc

// 下面是一些更高级的例子。有些问题很难解决。

val z = sc.parallelize(List("12","23","345","4567"),2)
z.aggregate("")((x,y) => math.max(x.length, y.length).toString, (x,y) => x + y)
res141: String = 42

z.aggregate("")((x,y) => math.min(x.length, y.length).toString, (x,y) => x + y)
res142: String = 11

val z = sc.parallelize(List("12","23","345",""),2)
z.aggregate("")((x,y) => math.min(x.length, y.length).toString, (x,y) => x + y)
res143: String = 10或者01
执行过程:""和"12"--->math.min(x.length,y.length).toString=====1
          "1"和"23"--->math.min(x.length,y.length).toString=====1
          ""和"345"--->math.min(x.length,y.length).toString=====1
          "1"和""--->math.min(x.length,y.length).toString=====0
          最后输出结果为:""+"1"+"0"="10"


val z = sc.parallelize(List("12","23","","345"),2)
z.aggregate("")((x,y) => math.min(x.length, y.length).toString, (x,y) => x + y)
res144: String = 11
1、""和12的长度取最小==0--->0.toString---->"0"
2、"0"和23的长度取最小==1---->1.toString----->"1"

3、""和""的长度取最小====0---->0.toString----->"0"
4、"0"和345的长度取最小=====1----->1.toString---->"1"

最后执行:""+"1"+"1"="11"
因此执行是有顺序的

 

aggregateByKey [Pair]

def aggregateByKey[U](zeroValue: U)(seqOp: (U, V) ⇒ U, combOp: (U, U) ⇒ U)(implicit arg0: ClassTag[U]): RDD[(K, U)]
def aggregateByKey[U](zeroValue: U, numPartitions: Int)(seqOp: (U, V) ⇒ U, combOp: (U, U) ⇒ U)(implicit arg0: ClassTag[U]): RDD[(K, U)]
def aggregateByKey[U](zeroValue: U, partitioner: Partitioner)(seqOp: (U, V) ⇒ U, combOp: (U, U) ⇒ U)(implicit arg0: ClassTag[U]): RDD[(K, U

简单说明与聚合函数类似,只是聚合应用于具有相同键的值。与聚合函数不同的是,初始值不应用于第二个reduce

例子:


val pairRDD = sc.parallelize(List( ("cat",2), ("cat", 5), ("mouse", 4),("cat", 12), ("dog", 12), ("mouse", 2)), 2)

// 让我们看看分区中有什么
def myfunc(index: Int, iter: Iterator[(String, Int)]) : Iterator[String] = {
  iter.map(x => "[partID:" +  index + ", val: " + x + "]")
}
pairRDD.mapPartitionsWithIndex(myfunc).collect

res2: Array[String] = Array([partID:0, val: (cat,2)], [partID:0, val: (cat,5)], [partID:0, val: (mouse,4)], [partID:1, val: (cat,12)],
 [partID:1, val: (dog,12)], [partID:1, val: (mouse,2)])

pairRDD.aggregateByKey(0)(math.max(_, _), _ + _).collect
res3: Array[(String, Int)] = Array((dog,12), (cat,17), (mouse,6))
//该操作不会讲100应用到第二个reduce上。
pairRDD.aggregateByKey(100)(math.max(_, _), _ + _).collect
res4: Array[(String, Int)] = Array((dog,100), (cat,200), (mouse,200))

cartesian(笛卡尔积)

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明计算两个RDD之间的笛卡尔积(即第一个RDD的每个项与第二个RDD的每个项连接),并将它们作为新的RDD返回。
警告:使用此功能时要小心。内存消耗很快就会成为一个问题!

例子:


val x = sc.parallelize(List(1,2,3,4,5))
val y = sc.parallelize(List(6,7,8,9,10))
x.cartesian(y).collect
res0: Array[(Int, Int)] = Array((1,6), (1,7), (1,8), (1,9), (1,10),
 (2,6), (2,7), (2,8), (2,9), (2,10), (3,6), (3,7), (3,8), (3,9), (3,10),
(4,6), (5,6), (4,7), (5,7), (4,8), (5,8), (4,9), (4,10), (5,9), (5,10))

 

checkpoint

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明将在下一次计算RDD时创建检查点。检查点RDDs作为二进制文件存储在检查点目录中,可以使用Spark上下文指定该目录。
(警告:Spark应用惰性评估。在调用操作之前,检查点不会发生。重要提示:目录“my_directory_name”应该存在于所有从目录中。作为一种替代方法,您也可以使用HDFS目录URL。

例子:


sc.setCheckpointDir("my_directory_name")
val a = sc.parallelize(1 to 4)
a.checkpoint
a.count
14/02/25 18:13:53 INFO SparkContext: Starting job: count at :15
...
14/02/25 18:13:53 INFO MemoryStore: Block broadcast_5 stored as values to memory (estimated size 115.7 KB, free 296.3 MB)
14/02/25 18:13:53 INFO RDDCheckpointData: Done checkpointing RDD 11 to
 file:/home/cloudera/Documents/spark-0.9.0-incubating-bin-cdh4/bin/my_directory_name/65407913-fdc6-4ec1-82c9-48a1656b95d6/rdd-11,

 new parent is RDD 12
res23: Long = 4
coalesce(合并), repartition(重新分区)
repartition(5)其实调用的是coalesce(5,true)  
 def repartition(numPartitions: Int)(implicit ord: Ordering[T] = null): RDD[T] = withScope {
    coalesce(numPartitions, shuffle = true)
  }
将关联的数据合并到给定数量的分区中。repartition(numpartition)是coalesce(numpartition, shuffle = true)的缩写。

aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


aggregate

      def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U) => U): U

简单说明

例子:


 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

你可能感兴趣的:(spark)