Getting Started
User Guide
API Reference
Development
Migration Guide
Spark SQL
Pandas API on Spark
Structured Streaming
MLlib (DataFrame-based)
Spark Streaming
MLlib (RDD-based)
Spark Core
Resource Management
pyspark.streaming.DStream.cache
¶
DStream.
cache
(
)
→ pyspark.streaming.dstream.DStream
[
T
]
[source]
¶
Persist the RDDs of this DStream with the default storage level (
MEMORY_ONLY
).
pyspark.streaming.DStream.saveAsTextFiles
pyspark.streaming.DStream.checkpoint