SparkConf.GetInt(String, Int32) 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.
Get a int parameter value, falling back to a default if not set
public int GetInt (string key, int defaultValue);
member this.GetInt : string * int -> int
Public Function GetInt (key As String, defaultValue As Integer) As Integer
Parameters
- key
- String
Key to use
- defaultValue
- Int32
Default value to use