Enum ParForProgramBlock.PExecMode
- java.lang.Object
-
- java.lang.Enum<ParForProgramBlock.PExecMode>
-
- org.apache.sysds.runtime.controlprogram.ParForProgramBlock.PExecMode
-
- All Implemented Interfaces:
Serializable
,Comparable<ParForProgramBlock.PExecMode>
- Enclosing class:
- ParForProgramBlock
public static enum ParForProgramBlock.PExecMode extends Enum<ParForProgramBlock.PExecMode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LOCAL
REMOTE_SPARK
REMOTE_SPARK_DP
UNSPECIFIED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ParForProgramBlock.PExecMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static ParForProgramBlock.PExecMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOCAL
public static final ParForProgramBlock.PExecMode LOCAL
-
REMOTE_SPARK
public static final ParForProgramBlock.PExecMode REMOTE_SPARK
-
REMOTE_SPARK_DP
public static final ParForProgramBlock.PExecMode REMOTE_SPARK_DP
-
UNSPECIFIED
public static final ParForProgramBlock.PExecMode UNSPECIFIED
-
-
Method Detail
-
values
public static ParForProgramBlock.PExecMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ParForProgramBlock.PExecMode c : ParForProgramBlock.PExecMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ParForProgramBlock.PExecMode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-