class Builder extends SparkSessionBuilder
- Source
- SparkSession.scala
- Alphabetic
- By Inheritance
- Builder
- SparkSessionBuilder
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
-  new Builder()
Value Members
-   final  def !=(arg0: Any): Boolean- Definition Classes
- AnyRef → Any
 
-   final  def ##: Int- Definition Classes
- AnyRef → Any
 
-   final  def ==(arg0: Any): Boolean- Definition Classes
- AnyRef → Any
 
-    def appName(name: String): Builder.this.typeSets a name for the application, which will be shown in the Spark web UI. Sets a name for the application, which will be shown in the Spark web UI. If no application name is set, a randomly generated name will be used. - Definition Classes
- Builder → SparkSessionBuilder
- Annotations
- @ClassicOnly()
 
-   final  def asInstanceOf[T0]: T0- Definition Classes
- Any
 
-    def classic(): Builder.this.typeMake the builder create a Classic SparkSession. 
-    def clone(): AnyRef- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
 
-    def config(conf: SparkConf): Builder.this.typeSets a list of config options based on the given SparkConf.Sets a list of config options based on the given SparkConf.- Definition Classes
- Builder → SparkSessionBuilder
 
-    def config(map: Map[String, Any]): Builder.this.typeSets a config option. Sets a config option. Options set using this method are automatically propagated to both SparkConfand SparkSession's own configuration.- Definition Classes
- Builder → SparkSessionBuilder
 
-    def config(map: Map[String, Any]): Builder.this.typeSets a config option. Sets a config option. Options set using this method are automatically propagated to both SparkConfand SparkSession's own configuration.- Definition Classes
- Builder → SparkSessionBuilder
 
-    def config(key: String, value: Boolean): Builder.this.typeSets a config option. Sets a config option. Options set using this method are automatically propagated to both SparkConfand SparkSession's own configuration.- Definition Classes
- Builder → SparkSessionBuilder
 
-    def config(key: String, value: Double): Builder.this.typeSets a config option. Sets a config option. Options set using this method are automatically propagated to both SparkConfand SparkSession's own configuration.- Definition Classes
- Builder → SparkSessionBuilder
 
-    def config(key: String, value: Long): Builder.this.typeSets a config option. Sets a config option. Options set using this method are automatically propagated to both SparkConfand SparkSession's own configuration.- Definition Classes
- Builder → SparkSessionBuilder
 
-    def config(key: String, value: String): Builder.this.typeSets a config option. Sets a config option. Options set using this method are automatically propagated to both SparkConfand SparkSession's own configuration.- Definition Classes
- Builder → SparkSessionBuilder
 
-    def connect(): Builder.this.typeMake the builder create a Connect SparkSession. 
-    def create(): SparkSessionCreate a new SparkSession. Create a new SparkSession. This will always return a newly created session. This method will update the default and/or active session if they are not set. - Definition Classes
- Builder → SparkSessionBuilder
 
-    def enableHiveSupport(): Builder.this.typeEnables Hive support, including connectivity to a persistent Hive metastore, support for Hive serdes, and Hive user-defined functions. Enables Hive support, including connectivity to a persistent Hive metastore, support for Hive serdes, and Hive user-defined functions. - Definition Classes
- Builder → SparkSessionBuilder
- Annotations
- @ClassicOnly()
 
-   final  def eq(arg0: AnyRef): Boolean- Definition Classes
- AnyRef
 
-    def equals(arg0: AnyRef): Boolean- Definition Classes
- AnyRef → Any
 
-   final  def getClass(): Class[_ <: AnyRef]- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
 
-    def getOrCreate(): SparkSessionGets an existing SparkSession or, if there is no existing one, creates a new one based on the options set in this builder. Gets an existing SparkSession or, if there is no existing one, creates a new one based on the options set in this builder. This method first checks whether there is a valid thread-local SparkSession, and if yes, return that one. It then checks whether there is a valid global default SparkSession, and if yes, return that one. If no valid global default SparkSession exists, the method creates a new SparkSession and assigns the newly created SparkSession as the global default. In case an existing SparkSession is returned, the non-static config options specified in this builder will be applied to the existing SparkSession. - Definition Classes
- Builder → SparkSessionBuilder
 
-    def handleBuilderConfig(key: String, value: String): BooleanHandle a configuration change that is only relevant to the builder. Handle a configuration change that is only relevant to the builder. - returns
- truewhen the change if builder only, otherwise it will be added to the configurations.
 - Attributes
- protected
- Definition Classes
- Builder → SparkSessionBuilder
 
-    def hashCode(): Int- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
 
-   final  def isInstanceOf[T0]: Boolean- Definition Classes
- Any
 
-    def master(master: String): Builder.this.typeSets the Spark master URL to connect to, such as "local" to run locally, "local[4]" to run locally with 4 cores, or "spark://master:7077" to run on a Spark standalone cluster. Sets the Spark master URL to connect to, such as "local" to run locally, "local[4]" to run locally with 4 cores, or "spark://master:7077" to run on a Spark standalone cluster. - Definition Classes
- Builder → SparkSessionBuilder
- Annotations
- @ClassicOnly()
 
-   final  def ne(arg0: AnyRef): Boolean- Definition Classes
- AnyRef
 
-   final  def notify(): Unit- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
 
-   final  def notifyAll(): Unit- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
 
-    val options: HashMap[String, String]- Attributes
- protected
- Definition Classes
- SparkSessionBuilder
 
-    def remote(connectionString: String): Builder.this.typeSets the Spark Connect remote URL. Sets the Spark Connect remote URL. - Definition Classes
- Builder → SparkSessionBuilder
 
-   final  def synchronized[T0](arg0: => T0): T0- Definition Classes
- AnyRef
 
-    def toString(): String- Definition Classes
- AnyRef → Any
 
-   final  def wait(arg0: Long, arg1: Int): Unit- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
 
-   final  def wait(arg0: Long): Unit- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
 
-   final  def wait(): Unit- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
 
-    def withExtensions(f: (SparkSessionExtensions) => Unit): Builder.this.typeInject extensions into the SparkSession. Inject extensions into the SparkSession. This allows a user to add Analyzer rules, Optimizer rules, Planning Strategies or a customized parser. - Definition Classes
- Builder → SparkSessionBuilder
- Annotations
- @ClassicOnly()
 
Deprecated Value Members
-    def finalize(): Unit- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
- (Since version 9)