Main Content
mapValues
Class: matlab.compiler.mlspark.RDD
Namespace: matlab.compiler.mlspark
Pass each value in a key-value pair RDD through a map function without modifying the keys
Syntax
result =
mapValues(obj,func)
Description
passes
each value in a key-value pair RDD result
=
mapValues(obj
,func
)obj
through
a map function func
without modifying the keys.
Input Arguments
Output Arguments
Examples
Version History
Introduced in R2016b
See Also
map
| flatMap
| collect
| parallelize