Package org.apache.calcite.sql.test
Enum SqlTests.Stage
- java.lang.Object
-
- java.lang.Enum<SqlTests.Stage>
-
- org.apache.calcite.sql.test.SqlTests.Stage
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SqlTests.Stage>
- Enclosing class:
- SqlTests
public static enum SqlTests.Stage extends java.lang.Enum<SqlTests.Stage>
Stage of query processing
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
componentName
-
Constructor Summary
Constructors Modifier Constructor Description private
Stage(java.lang.String componentName)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SqlTests.Stage
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SqlTests.Stage[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PARSE
public static final SqlTests.Stage PARSE
-
VALIDATE
public static final SqlTests.Stage VALIDATE
-
RUNTIME
public static final SqlTests.Stage RUNTIME
-
-
Method Detail
-
values
public static SqlTests.Stage[] 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 (SqlTests.Stage c : SqlTests.Stage.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SqlTests.Stage 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
-
-