Main Content
distinct
Class: matlab.compiler.mlspark.RDD
Namespace: matlab.compiler.mlspark
Return a new RDD containing the distinct elements of an existing RDD
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 R2016b
See Also
glom
| collect
| parallelize