combineByKey
R2026bClass: matlab.compiler.mlspark.RDD
Namespace: matlab.compiler.mlspark
(To be removed) Combine the elements for each key using a custom set of aggregation functions
matlab.compiler.mlspark.RDD.combineByKey will be removed in a future
release. There is no replacement functionality. For more information, see Version History.
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 R2016bSee Also
aggregateByKey | foldByKey | groupByKey | reduceByKey | sortByKey | subtractByKey | collect | glom | parallelize