Class: matlab.compiler.mlspark.RDD
Package: matlab.compiler.mlspark
Set the value of an RDD’s storage level to persist across operations after it is computed
persist(obj,storageLevel)
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.
matlab.compiler.mlspark.RDD.cache
| matlab.compiler.mlspark.RDD.unpersist
| matlab.compiler.mlspark.SparkContext.parallelize
| matlab.compiler.mlspark.SparkContext.textFile