Package org.apache.calcite.test
Enum CalciteAssert.SchemaSpec
- All Implemented Interfaces:
Serializable
,Comparable<CalciteAssert.SchemaSpec>
,Constable
- Enclosing class:
CalciteAssert
Specification for common test schemas.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
Modifier and TypeFieldDescriptionfinal String
The name of the schema that is usually created from this specification. -
Method Summary
Modifier and TypeMethodDescriptionstatic CalciteAssert.SchemaSpec
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 Details
-
REFLECTIVE_FOODMART
-
FAKE_FOODMART
-
JDBC_FOODMART
-
CLONE_FOODMART
-
JDBC_FOODMART_WITH_LATTICE
-
GEO
-
HR
-
MY_DB
-
JDBC_SCOTT
-
SCOTT
-
SCOTT_WITH_TEMPORAL
-
JDBC_STEELWHEELS
-
STEELWHEELS
-
TPCH
-
BLANK
-
LINGUAL
-
POST
-
ORINOCO
-
AUX
-
BOOKSTORE
-
-
Field Details
-
schemaName
The name of the schema that is usually created from this specification. (Names are not unique, and you can use another name if you wish.)
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-