public enum SparkVersion extends Enum<SparkVersion>
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
String |
getDescp() |
static SparkVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SparkVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SparkVersion SPARK1
public static final SparkVersion SPARK2
public static SparkVersion[] values()
for (SparkVersion c : SparkVersion.values()) System.out.println(c);
public static SparkVersion valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getCode()
public String getDescp()
Copyright © 2022 The Apache Software Foundation. All rights reserved.