Transformations
Transformations on DStreams are similar to those that are applicable to a Spark Core RDD. DStreams consist of RDDs, so a transformation applies to each RDD to generate a transformed RDD for each RDD, creating a transformed DStream. Each transformation creates a specified DStream derived class.
There are many DStream classes that are built for a functionalities; map transformations, window functions, reduce actions, and different InputStream
types are implemented using different DStream-derived classes.
The following table showcases the possible  types of transformations:
Transformation | Meaning |
| Applies the |
| Filters out the records of the |
| Creates more or fewer partitions to redistribute the data to change the parallelism. |
| Combines the elements in two source DStreams and returns a new DStream. |
| Returns... |