Enum QueryComparison.ComparisonStatus
- java.lang.Object
-
- java.lang.Enum<QueryComparison.ComparisonStatus>
-
- org.apache.pinot.tools.query.comparison.QueryComparison.ComparisonStatus
-
- All Implemented Interfaces:
Serializable,Comparable<QueryComparison.ComparisonStatus>
- Enclosing class:
- QueryComparison
public static enum QueryComparison.ComparisonStatus extends Enum<QueryComparison.ComparisonStatus>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static QueryComparison.ComparisonStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static QueryComparison.ComparisonStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PASSED
public static final QueryComparison.ComparisonStatus PASSED
-
EMPTY
public static final QueryComparison.ComparisonStatus EMPTY
-
FAILED
public static final QueryComparison.ComparisonStatus FAILED
-
-
Method Detail
-
values
public static QueryComparison.ComparisonStatus[] 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 (QueryComparison.ComparisonStatus c : QueryComparison.ComparisonStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static QueryComparison.ComparisonStatus 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
-
-