persist
Class: matlab.compiler.mlspark.RDD
Namespace: matlab.compiler.mlspark
Set the value of an RDD’s storage level to persist across operations after it is computed
Syntax
persist(obj,storageLevel)
Description
persist( sets
a persistent storage level specified by obj,storageLevel)storageLevel in
RDD object obj. The default storage level is MEMORY_ONLY.
Use the persist method to assign
a new storage level if obj does not have a storage
level set. You can also use it to set a persistent storage level in
memory across operations.
Input Arguments
Examples
Version History
Introduced in R2016b
See Also
cache | unpersist | textFile | parallelize