Class: matlab.compiler.mlspark.RDD
Package: matlab.compiler.mlspark
Merge the values for each key using an associative reduce function
result = reduceByKey(obj,func,numPartitions)
result = reduceByKey(
merges
the values for each key in obj
,func
,numPartitions
)obj
using an associative
reduce function func
. numPartitions
specifies
the number of partitions to create in the resulting RDD.
matlab.compiler.mlspark.RDD.collect
| matlab.compiler.mlspark.RDD.map
| matlab.compiler.mlspark.RDD.reduce
| matlab.compiler.mlspark.RDD.reduceByKeyLocally
| matlab.compiler.mlspark.SparkContext.parallelize