DStream.
flatMap
Return a new DStream by applying a function to all elements of this DStream, and then flattening the results
previous
pyspark.streaming.DStream.filter
next
pyspark.streaming.DStream.flatMapValues