Enum SqlDialect.DatabaseProduct

java.lang.Object
java.lang.Enum<SqlDialect.DatabaseProduct>
org.apache.calcite.sql.SqlDialect.DatabaseProduct
All Implemented Interfaces:
Serializable, Comparable<SqlDialect.DatabaseProduct>, java.lang.constant.Constable
Enclosing class:
SqlDialect

public static enum SqlDialect.DatabaseProduct extends Enum<SqlDialect.DatabaseProduct>
Rough list of flavors of database.

These values cannot help you distinguish between features that exist in different versions or ports of a database, but they are sufficient to drive a switch statement if behavior is broadly different between say, MySQL and Oracle.

If possible, you should not refer to particular database at all; write extend the dialect to describe the particular capability, for example, whether the database allows expressions to appear in the GROUP BY clause.