getNumPartitions
R2026bClass: matlab.compiler.mlspark.RDD
Namespace: matlab.compiler.mlspark
(To be removed) Return the number of partitions in an RDD
matlab.compiler.mlspark.RDD.getNumPartitions will be removed in a future
release. There is no replacement functionality. For more information, see Version History.
Syntax
numPartitions =
getNumPartitions(obj)
Description
returns the
number of partitions in numPartitions =
getNumPartitions(obj)obj.