Class: matlab.compiler.mlspark.RDD
Package: matlab.compiler.mlspark
Merge the values for each key using an associative function and a neutral “zero value”
result =
foldByKey(obj,zeroValue,func,numPartitions)
merges
the values for each key in result
=
foldByKey(obj
,zeroValue
,func
,numPartitions
)obj
using an associative
function func
and a neutral “zero value”
represented by zeroValue
. The input argument numPartitions
specifies
the number of partitions to create in the resulting RDD.
aggregateByKey
| collect
| combineByKey
| fold
| groupByKey
| map
| parallelize
| reduceByKey
| sortByKey
| subtractByKey