July 2018
Intermediate to advanced
334 pages
8h 20m
English
In IntelliJ, using File | New | Scala class, create an empty Scala trait called SpamWrapper in a file called SpamWrapper.scala.
First things first. At the top of the file, we will set up the following imports for implementing classes to take advantage of this trait:
These are the minimum imports. Next, create an empty trait. The following is an updated trait:
trait SpamWrapper { }
Inside the SpamWrapper trait, create a SparkSession instance called session. At this point, here is a refresher on Spark:
Read now
Unlock full access