SparkConf.GetInt(String, Int32) Method

Definition

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

Returns

Applies to