repartition
R2026bClass: matlab.compiler.mlspark.RDD
Namespace: matlab.compiler.mlspark
(To be removed) Return a new RDD that has exactly numPartitions partitions
matlab.compiler.mlspark.RDD.repartition will be removed in a future
release. There is no replacement functionality. For more information, see Version History.
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 R2016bSee Also
getNumPartitions | getDefaultReducePartitions | collect | parallelize