Top Description Fields Constructors Methods
org.jooq

public final Enum SQLDialectCategory

extends Enum<SQLDialectCategory>
Class Inheritance
Static Imports
java.util.Collections.unmodifiableSet

A category for SQLDialect.

Some SQLDialect families share a common category, as they are all derived from a common ancestor. Such categories can help define behaviour that is specific to all members of the category. For example, all SQLDialect#POSTGRES related dialects support casts of the form IDENTIFIER::TYPE.

Author
Lukas Eder

Field Summary

Modifier and TypeField and Description
private EnumSet<SQLDialect>
private EnumSet<SQLDialect>
public static final SQLDialectCategory
MYSQL

The MySQL dialect category.

public static final SQLDialectCategory
OTHER

The default SQL dialect category.

public static final SQLDialectCategory
POSTGRES

The PostgreSQL dialect category.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public final @NotNull Set<SQLDialect>
dialects()

Get all SQLDialect values belonging to this category.

public final @NotNull Set<SQLDialect>
families()

Get all SQLDialect families belonging to this category.

private final EnumSet<SQLDialect>
filter(SQLDialect[] values)

public static SQLDialectCategory
public static SQLDialectCategory[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

dialectsback to summary
private EnumSet<SQLDialect> dialects
familiesback to summary
private EnumSet<SQLDialect> families
MYSQLback to summary
public static final SQLDialectCategory MYSQL

The MySQL dialect category.

OTHERback to summary
public static final SQLDialectCategory OTHER

The default SQL dialect category.

This dialect is chosen in the absence of a more explicit category.

POSTGRESback to summary
public static final SQLDialectCategory POSTGRES

The PostgreSQL dialect category.

Constructor Detail

SQLDialectCategoryback to summary
private SQLDialectCategory()

Method Detail

dialectsback to summary
public final @NotNull Set<SQLDialect> dialects()

Get all SQLDialect values belonging to this category.

Annotations
@NotNull
familiesback to summary
public final @NotNull Set<SQLDialect> families()

Get all SQLDialect families belonging to this category.

Annotations
@NotNull
filterback to summary
private final EnumSet<SQLDialect> filter(SQLDialect[] values)
valueOfback to summary
public static SQLDialectCategory valueOf(String name)
valuesback to summary
public static SQLDialectCategory[] values()