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