Builder could be used to build or initialize objects
A converter should be able to convert between two types T1 and T2.
A converter should be able to convert between two types T1 and T2.
Configure and build new sparkSession according to given usages
Configure and build new sparkSession according to given usages
Usage:
// Auto-configure val spark: SparkSession = new SparkSessionBuilder("cassandra", "postgres").build().get() // Build with your own SparkConf val spark: SparkSession = new SparkSessionBuilder().configure(yourSparkConf).build().get()
Builder could be used to build or initialize objects
the type of object that the builder is supposed to produce