RDD.
getStorageLevel
Get the RDD’s current storage level.
New in version 1.0.0.
StorageLevel
current StorageLevel
See also
RDD.name()
Examples
>>> rdd = sc.parallelize([1,2]) >>> rdd.getStorageLevel() StorageLevel(False, False, False, False, 1) >>> print(rdd.getStorageLevel()) Serialized 1x Replicated