Package io.prestosql.sql.analyzer
Enum FeaturesConfig.JoinReorderingStrategy
- java.lang.Object
-
- java.lang.Enum<FeaturesConfig.JoinReorderingStrategy>
-
- io.prestosql.sql.analyzer.FeaturesConfig.JoinReorderingStrategy
-
- All Implemented Interfaces:
Serializable
,Comparable<FeaturesConfig.JoinReorderingStrategy>
- Enclosing class:
- FeaturesConfig
public static enum FeaturesConfig.JoinReorderingStrategy extends Enum<FeaturesConfig.JoinReorderingStrategy>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTOMATIC
ELIMINATE_CROSS_JOINS
NONE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FeaturesConfig.JoinReorderingStrategy
valueOf(String name)
Returns the enum constant of this type with the specified name.static FeaturesConfig.JoinReorderingStrategy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final FeaturesConfig.JoinReorderingStrategy NONE
-
ELIMINATE_CROSS_JOINS
public static final FeaturesConfig.JoinReorderingStrategy ELIMINATE_CROSS_JOINS
-
AUTOMATIC
public static final FeaturesConfig.JoinReorderingStrategy AUTOMATIC
-
-
Method Detail
-
values
public static FeaturesConfig.JoinReorderingStrategy[] 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 (FeaturesConfig.JoinReorderingStrategy c : FeaturesConfig.JoinReorderingStrategy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FeaturesConfig.JoinReorderingStrategy 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
-
-