Enum ParForProgramBlock.PDataPartitioner
- java.lang.Object
-
- java.lang.Enum<ParForProgramBlock.PDataPartitioner>
-
- org.apache.sysds.runtime.controlprogram.ParForProgramBlock.PDataPartitioner
-
- All Implemented Interfaces:
Serializable
,Comparable<ParForProgramBlock.PDataPartitioner>
- Enclosing class:
- ParForProgramBlock
public static enum ParForProgramBlock.PDataPartitioner extends Enum<ParForProgramBlock.PDataPartitioner>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LOCAL
NONE
REMOTE_SPARK
UNSPECIFIED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ParForProgramBlock.PDataPartitioner
valueOf(String name)
Returns the enum constant of this type with the specified name.static ParForProgramBlock.PDataPartitioner[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final ParForProgramBlock.PDataPartitioner NONE
-
LOCAL
public static final ParForProgramBlock.PDataPartitioner LOCAL
-
REMOTE_SPARK
public static final ParForProgramBlock.PDataPartitioner REMOTE_SPARK
-
UNSPECIFIED
public static final ParForProgramBlock.PDataPartitioner UNSPECIFIED
-
-
Method Detail
-
values
public static ParForProgramBlock.PDataPartitioner[] 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.PDataPartitioner c : ParForProgramBlock.PDataPartitioner.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.PDataPartitioner 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
-
-