Package org.apache.calcite.test
Enum CalciteAssert.Config
- All Implemented Interfaces:
Serializable
,Comparable<CalciteAssert.Config>
,Constable
- Enclosing class:
CalciteAssert
Connection configuration. Basically, a set of schemas that should be
instantiated in the connection.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionConfiguration that loads AUX schema for tests involving view expansions and lateral joins tests.Configuration that creates an empty connection.Configuration that contains an in-memory clone of the FoodMart database.Configuration that contains geo-spatial functions.Configuration that creates a connection to a MySQL server.Configuration that contains an in-memory clone of the FoodMart database, plus a lattice to enable on-the-fly materializations.Configuration that creates a connection to hsqldb containing the Scott schema via the JDBC adapter.Configuration that creates a connection with an in-memory data set similar to the smoke test in Cascading Lingual.Configuration that creates a connection with two in-memory data sets:HrSchema
andFoodmartSchema
.Configuration that includes the metadata schema.Configuration that loads the "scott/tiger" database.Configuration that loads Spark. -
Method Summary
Modifier and TypeMethodDescriptionstatic CalciteAssert.Config
Returns the enum constant of this type with the specified name.static CalciteAssert.Config[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
EMPTY
Configuration that creates an empty connection. -
REGULAR
Configuration that creates a connection with two in-memory data sets:HrSchema
andFoodmartSchema
. -
LINGUAL
Configuration that creates a connection with an in-memory data set similar to the smoke test in Cascading Lingual. -
JDBC_FOODMART
Configuration that creates a connection to a MySQL server. Tables such as "customer" and "sales_fact_1997" are available. Queries are processed by generating Java that calls linq4j operators such asExtendedEnumerable.where(org.apache.calcite.linq4j.function.Predicate1)
. -
JDBC_SCOTT
Configuration that creates a connection to hsqldb containing the Scott schema via the JDBC adapter. -
FOODMART_CLONE
Configuration that contains an in-memory clone of the FoodMart database. -
GEO
Configuration that contains geo-spatial functions. -
JDBC_FOODMART_WITH_LATTICE
Configuration that contains an in-memory clone of the FoodMart database, plus a lattice to enable on-the-fly materializations. -
REGULAR_PLUS_METADATA
Configuration that includes the metadata schema. -
SCOTT
Configuration that loads the "scott/tiger" database. -
SPARK
Configuration that loads Spark. -
AUX
Configuration that loads AUX schema for tests involving view expansions and lateral joins tests.
-
-
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
-