Builder

org.apache.spark.sql.connect.client.SparkConnectClient.Builder
class Builder(var configuration: Configuration)

Fluent builder for a SparkConnectClient.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def connectionString(connectionString: String): Builder

Configures the builder from a Spark Connect connection string of the form sc://host:port/;param1=value1;param2=value2.

Configures the builder from a Spark Connect connection string of the form sc://host:port/;param1=value1;param2=value2.

Attributes

def host(inputHost: String): Builder
def option(key: String, value: String): Builder
def port(inputPort: Int): Builder
def reattachable(enabled: Boolean): Builder

Enables or disables reattachable execution (resilient, resumable result streams).

Enables or disables reattachable execution (resilient, resumable result streams).

Attributes

def sessionId(id: String): Builder
def token(t: String): Builder
def userAgent(agent: String): Builder
def userId(id: String): Builder
def userName(name: String): Builder