Package org.apache.pinot.common.metrics
Enum MinionQueryPhase
- java.lang.Object
-
- java.lang.Enum<MinionQueryPhase>
-
- org.apache.pinot.common.metrics.MinionQueryPhase
-
- All Implemented Interfaces:
Serializable,Comparable<MinionQueryPhase>,AbstractMetrics.QueryPhase
public enum MinionQueryPhase extends Enum<MinionQueryPhase> implements AbstractMetrics.QueryPhase
-
-
Enum Constant Summary
Enum Constants Enum Constant Description TASK_EXECUTIONTASK_QUEUEING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetQueryPhaseName()static MinionQueryPhasevalueOf(String name)Returns the enum constant of this type with the specified name.static MinionQueryPhase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TASK_EXECUTION
public static final MinionQueryPhase TASK_EXECUTION
-
TASK_QUEUEING
public static final MinionQueryPhase TASK_QUEUEING
-
-
Method Detail
-
values
public static MinionQueryPhase[] 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 (MinionQueryPhase c : MinionQueryPhase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MinionQueryPhase 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
-
getQueryPhaseName
public String getQueryPhaseName()
- Specified by:
getQueryPhaseNamein interfaceAbstractMetrics.QueryPhase
-
-