combineByKey
Class: matlab.compiler.mlspark.RDD
Namespace: matlab.compiler.mlspark
Combine the elements for each key using a custom set of aggregation functions
Syntax
result =
combineByKey(obj,createCombiner,mergeValue,mergeCombiners,numPartitions)
Description
combines the elements for each key using a custom set of
aggregation functions: result =
combineByKey(obj,createCombiner,mergeValue,mergeCombiners,numPartitions)createCombiner and
mergeValue. The input argument
numPartitions specifies the
number of partitions to create in the resulting RDD.
Input Arguments
Output Arguments
Examples
Version History
Introduced in R2016b
See Also
aggregateByKey | foldByKey | groupByKey | reduceByKey | sortByKey | subtractByKey | collect | glom | parallelize