Class: matlab.compiler.mlspark.RDD
Package: matlab.compiler.mlspark
Aggregate elements of each partition and the subsequent results for all partitions
result =
fold(obj,zeroValue,func)
aggregates
the elements of each partition in result
=
fold(obj
,zeroValue
,func
)obj
and the
subsequent results for all the partitions, using an associative function func
and
a neutral “zero value” represented by zeroValue
.
collect
| foldByKey
| groupBy
| parallelize