Main Content
sortBy
Class: matlab.compiler.mlspark.RDD
Namespace: matlab.compiler.mlspark
Sort an RDD by a given function
Syntax
result =
sortBy(obj,func,numPartitions)
Description
sorts result
=
sortBy(obj
,func
,numPartitions
)obj
using
a given func
. numPartitions
specifies
the number of partitions to create in the resulting RDD.
Input Arguments
Output Arguments
Examples
Version History
Introduced in R2016b