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.
matlab.compiler.mlspark.RDD.collect | matlab.compiler.mlspark.RDD.foldByKey | matlab.compiler.mlspark.RDD.groupBy | matlab.compiler.mlspark.SparkContext.parallelize