groupByKey
R2026bClass: matlab.compiler.mlspark.RDD
Namespace: matlab.compiler.mlspark
(To be removed) Group the values for each key in the RDD into a single sequence
matlab.compiler.mlspark.RDD.groupByKey will be removed in a future
release. There is no replacement functionality. For more information, see Version History.
Syntax
result =
groupByKey(obj,numPartitions)
Description
groups
the values for each key in result =
groupByKey(obj,numPartitions)obj into a single
sequence. numPartitions specifies the number
of partitions to create in the resulting RDD.