DStream.
mapPartitions
Return a new DStream in which each RDD is generated by applying mapPartitions() to each RDDs of this DStream.
previous
pyspark.streaming.DStream.map
next
pyspark.streaming.DStream.mapPartitionsWithIndex