DataFrameReader.Option Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Option(String, String) |
Adds an input option for the underlying data source. |
Option(String, Int64) |
Adds an input option for the underlying data source. |
Option(String, Boolean) |
Adds an input option for the underlying data source. |
Option(String, Double) |
Adds an input option for the underlying data source. |
Option(String, String)
Adds an input option for the underlying data source.
public Microsoft.Spark.Sql.DataFrameReader Option (string key, string value);
member this.Option : string * string -> Microsoft.Spark.Sql.DataFrameReader
Public Function Option (key As String, value As String) As DataFrameReader
Parameters
- key
- String
Name of the option
- value
- String
Value of the option
Returns
This DataFrameReader object
Applies to
Option(String, Int64)
Adds an input option for the underlying data source.
public Microsoft.Spark.Sql.DataFrameReader Option (string key, long value);
member this.Option : string * int64 -> Microsoft.Spark.Sql.DataFrameReader
Public Function Option (key As String, value As Long) As DataFrameReader
Parameters
- key
- String
Name of the option
- value
- Int64
Value of the option
Returns
This DataFrameReader object
Applies to
Option(String, Boolean)
Adds an input option for the underlying data source.
public Microsoft.Spark.Sql.DataFrameReader Option (string key, bool value);
member this.Option : string * bool -> Microsoft.Spark.Sql.DataFrameReader
Public Function Option (key As String, value As Boolean) As DataFrameReader
Parameters
- key
- String
Name of the option
- value
- Boolean
Value of the option
Returns
This DataFrameReader object
Applies to
Option(String, Double)
Adds an input option for the underlying data source.
public Microsoft.Spark.Sql.DataFrameReader Option (string key, double value);
member this.Option : string * double -> Microsoft.Spark.Sql.DataFrameReader
Public Function Option (key As String, value As Double) As DataFrameReader
Parameters
- key
- String
Name of the option
- value
- Double
Value of the option
Returns
This DataFrameReader object