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 |
---|---|
Catalog |
getCatalog()
The catalog of the enum type, if applicable.
|
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()
Catalog getCatalog()
null
Schema getSchema()
null
String getName()
null
Copyright © 2017. All Rights Reserved.