public enum QueryCostType extends Enum<QueryCostType>
Modifier and Type | Method and Description |
---|---|
static QueryCostType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueryCostType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueryCostType LOW
public static final QueryCostType MEDIUM
public static final QueryCostType HIGH
public static QueryCostType[] values()
for (QueryCostType c : QueryCostType.values()) System.out.println(c);
public static QueryCostType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2014–2018 Apache Software Foundation. All rights reserved.