com.datastax.spark.connector.embedded
Obtains the active SparkContext object.
Obtains the active SparkSession object.
Ensures that the currently running SparkContext uses the provided configuration.
Ensures that the currently running SparkContext uses the provided
configuration. If the configurations are different or force is true
Spark context is stopped and
started again with the given configuration.