Class: matlab.compiler.mlspark.RDD
Package: matlab.compiler.mlspark
Reduce the number of partitions in an RDD
result =
coalesce(obj,numPartitions,doShuffle)
reduces
the number of partitions in an RDD to a number specified by result
=
coalesce(obj
,numPartitions
,doShuffle
)numPartitions
.
collect
| glom
| map
| parallelize
| reduceByKey