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).