Main Content
repartition
Class: matlab.compiler.mlspark.RDD
Namespace: matlab.compiler.mlspark
Return a new RDD that has exactly numPartitions
partitions
Syntax
result =
repartition(obj,numPartitions)
Description
returns
a new RDD result
=
repartition(obj
,numPartitions
)result
that has
exactly numPartitions
partitions.
Input Arguments
Output Arguments
Examples
Version History
Introduced in R2016b
See Also
getNumPartitions
| getDefaultReducePartitions
| collect
| parallelize