Main Content
groupByKey
Class: matlab.compiler.mlspark.RDD
Namespace: matlab.compiler.mlspark
Group the values for each key in the RDD into a single sequence
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.
Input Arguments
Output Arguments
Examples
Version History
Introduced in R2016b