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.
matlab.compiler.mlspark.RDD.aggregateByKey | matlab.compiler.mlspark.RDD.collect | matlab.compiler.mlspark.RDD.combineByKey | matlab.compiler.mlspark.RDD.fold | matlab.compiler.mlspark.RDD.groupByKey | matlab.compiler.mlspark.RDD.map | matlab.compiler.mlspark.RDD.reduceByKey | matlab.compiler.mlspark.RDD.sortByKey | matlab.compiler.mlspark.RDD.subtractByKey | matlab.compiler.mlspark.SparkContext.parallelize