public static enum SparkJob.DriverCase extends java.lang.Enum<SparkJob.DriverCase> implements Internal.EnumLite
Enum Constant and Description |
---|
DRIVER_NOT_SET |
MAIN_CLASS |
MAIN_JAR_FILE_URI |
Modifier and Type | Method and Description |
---|---|
static SparkJob.DriverCase |
forNumber(int value) |
int |
getNumber() |
static SparkJob.DriverCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SparkJob.DriverCase |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SparkJob.DriverCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SparkJob.DriverCase MAIN_JAR_FILE_URI
public static final SparkJob.DriverCase MAIN_CLASS
public static final SparkJob.DriverCase DRIVER_NOT_SET
public static SparkJob.DriverCase[] values()
for (SparkJob.DriverCase c : SparkJob.DriverCase.values()) System.out.println(c);
public static SparkJob.DriverCase valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null@Deprecated public static SparkJob.DriverCase valueOf(int value)
forNumber(int)
instead.public static SparkJob.DriverCase forNumber(int value)
public int getNumber()
getNumber
in interface Internal.EnumLite