Package org.apache.calcite.test
Enum CalciteAssert.SchemaSpec
- java.lang.Object
-
- java.lang.Enum<CalciteAssert.SchemaSpec>
-
- org.apache.calcite.test.CalciteAssert.SchemaSpec
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CalciteAssert.SchemaSpec>
- Enclosing class:
- CalciteAssert
public static enum CalciteAssert.SchemaSpec extends java.lang.Enum<CalciteAssert.SchemaSpec>
Specification for common test schemas.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUX
BLANK
BOOKSTORE
CLONE_FOODMART
GEO
HR
JDBC_FOODMART
JDBC_FOODMART_WITH_LATTICE
JDBC_SCOTT
LINGUAL
ORINOCO
POST
REFLECTIVE_FOODMART
SCOTT
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
schemaName
The name of the schema that is usually created from this specification.
-
Constructor Summary
Constructors Modifier Constructor Description private
SchemaSpec(java.lang.String schemaName)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CalciteAssert.SchemaSpec
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CalciteAssert.SchemaSpec[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REFLECTIVE_FOODMART
public static final CalciteAssert.SchemaSpec REFLECTIVE_FOODMART
-
JDBC_FOODMART
public static final CalciteAssert.SchemaSpec JDBC_FOODMART
-
CLONE_FOODMART
public static final CalciteAssert.SchemaSpec CLONE_FOODMART
-
JDBC_FOODMART_WITH_LATTICE
public static final CalciteAssert.SchemaSpec JDBC_FOODMART_WITH_LATTICE
-
GEO
public static final CalciteAssert.SchemaSpec GEO
-
HR
public static final CalciteAssert.SchemaSpec HR
-
JDBC_SCOTT
public static final CalciteAssert.SchemaSpec JDBC_SCOTT
-
SCOTT
public static final CalciteAssert.SchemaSpec SCOTT
-
BLANK
public static final CalciteAssert.SchemaSpec BLANK
-
LINGUAL
public static final CalciteAssert.SchemaSpec LINGUAL
-
POST
public static final CalciteAssert.SchemaSpec POST
-
ORINOCO
public static final CalciteAssert.SchemaSpec ORINOCO
-
AUX
public static final CalciteAssert.SchemaSpec AUX
-
BOOKSTORE
public static final CalciteAssert.SchemaSpec BOOKSTORE
-
-
Method Detail
-
values
public static CalciteAssert.SchemaSpec[] 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 (CalciteAssert.SchemaSpec c : CalciteAssert.SchemaSpec.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CalciteAssert.SchemaSpec 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
-
-