Package org.apache.sysds.parser
Enum Statement.FederatedPSScheme
- java.lang.Object
-
- java.lang.Enum<Statement.FederatedPSScheme>
-
- org.apache.sysds.parser.Statement.FederatedPSScheme
-
- All Implemented Interfaces:
Serializable
,Comparable<Statement.FederatedPSScheme>
- Enclosing class:
- Statement
public static enum Statement.FederatedPSScheme extends Enum<Statement.FederatedPSScheme>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BALANCE_TO_AVG
KEEP_DATA_ON_WORKER
REPLICATE_TO_MAX
SHUFFLE
SUBSAMPLE_TO_MIN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Statement.FederatedPSScheme
valueOf(String name)
Returns the enum constant of this type with the specified name.static Statement.FederatedPSScheme[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
KEEP_DATA_ON_WORKER
public static final Statement.FederatedPSScheme KEEP_DATA_ON_WORKER
-
SHUFFLE
public static final Statement.FederatedPSScheme SHUFFLE
-
REPLICATE_TO_MAX
public static final Statement.FederatedPSScheme REPLICATE_TO_MAX
-
SUBSAMPLE_TO_MIN
public static final Statement.FederatedPSScheme SUBSAMPLE_TO_MIN
-
BALANCE_TO_AVG
public static final Statement.FederatedPSScheme BALANCE_TO_AVG
-
-
Method Detail
-
values
public static Statement.FederatedPSScheme[] 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 (Statement.FederatedPSScheme c : Statement.FederatedPSScheme.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Statement.FederatedPSScheme 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
-
-