public interface EnumType
SQLDialect.MARIADB, this can be a column-scope enum typeSQLDialect.MYSQL, this can be a column-scope enum typeSQLDialect.POSTGRES, this can be a schema-scope enum type
Client code should not assume that the actual enum reference is a Java
Enum. In Scala, for instance, enums are not idiomatic, and jOOQ
implements them differently. In any case, this EnumType API is
implemented by generated database enums.
| Modifier and Type | Method and Description |
|---|---|
String |
getLiteral()
The literal as defined in the database
|
String |
getName()
The type name as registered in the database, if applicable (Postgres
schema-scope enum type only).
|
Schema |
getSchema()
The schema of the enum type, if applicable (Postgres schema-scope enum
type only).
|
String getLiteral()
Schema getSchema()
nullString getName()
nullCopyright © 2017. All Rights Reserved.