This is an excerpt from Manning's book Spark in Action, Second Edition. Login to get full access to this book.
I cover transformations and actions from a Java perspective. A lot of the online documentation is about Scala; here, I think I improved the information to better cover Java.
Figure A.7 A “working” workbench with the default views in the Java perspective