Main Content
subtractByKey
Class: matlab.compiler.mlspark.RDD
Namespace: matlab.compiler.mlspark
Return key-value pairs resulting from the set difference of keys between two RDDs
Syntax
result = subtractByKey(obj1,obj2,numPartitions)
Description
returns
a key-value pair RDD result
= subtractByKey(obj1
,obj2
,numPartitions
)result
resulting from the
set difference of keys between obj1
and obj2
. numPartitions
specifies
the number of partitions to create in the resulting RDD.
Input Arguments
Output Arguments
Examples
Version History
Introduced in R2016b