Share via


DataFrameWriterV2.Option Method

Definition

Overloads

Option(String, Boolean)

Adds an output option for the underlying data source.

Option(String, Double)

Adds an output option for the underlying data source.

Option(String, Int64)

Adds an output option for the underlying data source.

Option(String, String)

Adds an output option for the underlying data source.

Option(String, Boolean)

Adds an output option for the underlying data source.

public Microsoft.Spark.Sql.DataFrameWriterV2 Option (string key, bool value);
member this.Option : string * bool -> Microsoft.Spark.Sql.DataFrameWriterV2
Public Function Option (key As String, value As Boolean) As DataFrameWriterV2

Parameters

key
String

Name of the option

value
Boolean

bool value of the option

Returns

This DataFrameWriterV2 object

Applies to

Option(String, Double)

Adds an output option for the underlying data source.

public Microsoft.Spark.Sql.DataFrameWriterV2 Option (string key, double value);
member this.Option : string * double -> Microsoft.Spark.Sql.DataFrameWriterV2
Public Function Option (key As String, value As Double) As DataFrameWriterV2

Parameters

key
String

Name of the option

value
Double

Double value of the option

Returns

This DataFrameWriterV2 object

Applies to

Option(String, Int64)

Adds an output option for the underlying data source.

public Microsoft.Spark.Sql.DataFrameWriterV2 Option (string key, long value);
member this.Option : string * int64 -> Microsoft.Spark.Sql.DataFrameWriterV2
Public Function Option (key As String, value As Long) As DataFrameWriterV2

Parameters

key
String

Name of the option

value
Int64

Long value of the option

Returns

This DataFrameWriterV2 object

Applies to

Option(String, String)

Adds an output option for the underlying data source.

public Microsoft.Spark.Sql.DataFrameWriterV2 Option (string key, string value);
member this.Option : string * string -> Microsoft.Spark.Sql.DataFrameWriterV2
Public Function Option (key As String, value As String) As DataFrameWriterV2

Parameters

key
String

Name of the option

value
String

string value of the option

Returns

This DataFrameWriterV2 object

Applies to