Package org.apache.pinot.common.metrics
Enum ServerQueryPhase
- java.lang.Object
-
- java.lang.Enum<ServerQueryPhase>
-
- org.apache.pinot.common.metrics.ServerQueryPhase
-
- All Implemented Interfaces:
Serializable,Comparable<ServerQueryPhase>,java.lang.constant.Constable,AbstractMetrics.QueryPhase
public enum ServerQueryPhase extends Enum<ServerQueryPhase> implements AbstractMetrics.QueryPhase
Enumeration containing all the query phases executed by the server.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BUILD_QUERY_PLANQUERY_PLAN_EXECUTIONQUERY_PROCESSINGREQUEST_DESERIALIZATIONRESPONSE_SERIALIZATIONSCHEDULER_WAITSEGMENT_PRUNINGTOTAL_QUERY_TIME
-
Method Summary
Modifier and Type Method Description StringgetQueryPhaseName()static ServerQueryPhasevalueOf(String name)Returns the enum constant of this type with the specified name.static ServerQueryPhase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REQUEST_DESERIALIZATION
public static final ServerQueryPhase REQUEST_DESERIALIZATION
-
TOTAL_QUERY_TIME
public static final ServerQueryPhase TOTAL_QUERY_TIME
-
SEGMENT_PRUNING
public static final ServerQueryPhase SEGMENT_PRUNING
-
BUILD_QUERY_PLAN
public static final ServerQueryPhase BUILD_QUERY_PLAN
-
QUERY_PLAN_EXECUTION
public static final ServerQueryPhase QUERY_PLAN_EXECUTION
-
RESPONSE_SERIALIZATION
public static final ServerQueryPhase RESPONSE_SERIALIZATION
-
QUERY_PROCESSING
public static final ServerQueryPhase QUERY_PROCESSING
-
SCHEDULER_WAIT
public static final ServerQueryPhase SCHEDULER_WAIT
-
-
Method Detail
-
values
public static ServerQueryPhase[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ServerQueryPhase 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
-
-