distinct
R2026bClass: matlab.compiler.mlspark.RDD
Namespace: matlab.compiler.mlspark
(To be removed) Return a new RDD containing the distinct elements of an existing RDD
matlab.compiler.mlspark.RDD.distinct will be removed in a future
release. There is no replacement functionality. For more information, see Version History.
Syntax
result =
distinct(obj,numPartitions)
Description
returns
a new RDD result =
distinct(obj,numPartitions)result containing
the distinct elements of obj by eliminating duplicate
values.
Input Arguments
Output Arguments
Examples
Version History
Introduced in R2016bSee Also
glom | collect | parallelize