persist
R2026bClass: matlab.compiler.mlspark.RDD
Namespace: matlab.compiler.mlspark
(To be removed) Set the value of an RDD’s storage level to persist across operations after it is computed
matlab.compiler.mlspark.RDD.persist will be removed in a future
release. There is no replacement functionality. For more information, see Version History.
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 R2016bSee Also
cache | unpersist | textFile | parallelize