subtractByKey
R2026bClass: matlab.compiler.mlspark.RDD
Namespace: matlab.compiler.mlspark
(To be removed) Return key-value pairs resulting from the set difference of keys between two RDDs
matlab.compiler.mlspark.RDD.subtractByKey will be removed in a future
release. There is no replacement functionality. For more information, see Version History.
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.