Package com.linkedin.venice.meta
Enum QueryAction
- java.lang.Object
-
- java.lang.Enum<QueryAction>
-
- com.linkedin.venice.meta.QueryAction
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<QueryAction>
public enum QueryAction extends java.lang.Enum<QueryAction>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADMIN
COMPUTE
CURRENT_VERSION
DICTIONARY
HEALTH
HOST_HEARTBEAT_LAG
METADATA
STORAGE
TOPIC_PARTITION_INGESTION_CONTEXT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static QueryAction
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static QueryAction[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STORAGE
public static final QueryAction STORAGE
-
HEALTH
public static final QueryAction HEALTH
-
COMPUTE
public static final QueryAction COMPUTE
-
DICTIONARY
public static final QueryAction DICTIONARY
-
ADMIN
public static final QueryAction ADMIN
-
METADATA
public static final QueryAction METADATA
-
CURRENT_VERSION
public static final QueryAction CURRENT_VERSION
-
TOPIC_PARTITION_INGESTION_CONTEXT
public static final QueryAction TOPIC_PARTITION_INGESTION_CONTEXT
-
HOST_HEARTBEAT_LAG
public static final QueryAction HOST_HEARTBEAT_LAG
-
-
Method Detail
-
values
public static QueryAction[] 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 (QueryAction c : QueryAction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static QueryAction valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-