Overview
Getting Started
User Guides
API Reference
Development
Migration Guides
Spark SQL
Pandas API on Spark
Structured Streaming
MLlib (DataFrame-based)
Spark Streaming (Legacy)
MLlib (RDD-based)
Spark Core
Resource Management
Errors
pyspark.streaming.DStream.persist
¶
DStream.
persist
(
storageLevel
:
pyspark.storagelevel.StorageLevel
)
→ pyspark.streaming.dstream.DStream
[
T
]
[source]
¶
Persist the RDDs of this DStream with the given storage level
pyspark.streaming.DStream.partitionBy
pyspark.streaming.DStream.reduce