Package org.apache.pinot.common.metrics
Enum BrokerQueryPhase
- java.lang.Object
-
- java.lang.Enum<BrokerQueryPhase>
-
- org.apache.pinot.common.metrics.BrokerQueryPhase
-
- All Implemented Interfaces:
Serializable,Comparable<BrokerQueryPhase>,AbstractMetrics.QueryPhase
public enum BrokerQueryPhase extends Enum<BrokerQueryPhase> implements AbstractMetrics.QueryPhase
Enumeration containing all the query phases executed by the Pinot broker.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTHORIZATIONDESERIALIZATIONQUERY_EXECUTIONQUERY_ROUTINGREDUCEREQUEST_COMPILATIONREQUEST_CONNECTION_WAITSCATTER_GATHER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetQueryPhaseName()static BrokerQueryPhasevalueOf(String name)Returns the enum constant of this type with the specified name.static BrokerQueryPhase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REQUEST_COMPILATION
public static final BrokerQueryPhase REQUEST_COMPILATION
-
QUERY_EXECUTION
public static final BrokerQueryPhase QUERY_EXECUTION
-
QUERY_ROUTING
public static final BrokerQueryPhase QUERY_ROUTING
-
SCATTER_GATHER
public static final BrokerQueryPhase SCATTER_GATHER
-
DESERIALIZATION
public static final BrokerQueryPhase DESERIALIZATION
-
REDUCE
public static final BrokerQueryPhase REDUCE
-
REQUEST_CONNECTION_WAIT
public static final BrokerQueryPhase REQUEST_CONNECTION_WAIT
-
AUTHORIZATION
public static final BrokerQueryPhase AUTHORIZATION
-
-
Method Detail
-
values
public static BrokerQueryPhase[] 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 (BrokerQueryPhase c : BrokerQueryPhase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BrokerQueryPhase 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
-
-