Package org.apache.sysds.hops.codegen
Enum SpoofCompiler.PlanSelector
- java.lang.Object
-
- java.lang.Enum<SpoofCompiler.PlanSelector>
-
- org.apache.sysds.hops.codegen.SpoofCompiler.PlanSelector
-
- All Implemented Interfaces:
Serializable,Comparable<SpoofCompiler.PlanSelector>
- Enclosing class:
- SpoofCompiler
public static enum SpoofCompiler.PlanSelector extends Enum<SpoofCompiler.PlanSelector>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FUSE_ALLFUSE_COST_BASEDFUSE_COST_BASED_V2FUSE_NO_REDUNDANCY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisCostBased()booleanisHeuristic()static SpoofCompiler.PlanSelectorvalueOf(String name)Returns the enum constant of this type with the specified name.static SpoofCompiler.PlanSelector[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FUSE_ALL
public static final SpoofCompiler.PlanSelector FUSE_ALL
-
FUSE_NO_REDUNDANCY
public static final SpoofCompiler.PlanSelector FUSE_NO_REDUNDANCY
-
FUSE_COST_BASED
public static final SpoofCompiler.PlanSelector FUSE_COST_BASED
-
FUSE_COST_BASED_V2
public static final SpoofCompiler.PlanSelector FUSE_COST_BASED_V2
-
-
Method Detail
-
values
public static SpoofCompiler.PlanSelector[] 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 (SpoofCompiler.PlanSelector c : SpoofCompiler.PlanSelector.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SpoofCompiler.PlanSelector 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
-
isHeuristic
public boolean isHeuristic()
-
isCostBased
public boolean isCostBased()
-
-