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 |
---|---|
default 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).
|
default Schema |
getSchema()
The schema of the enum type, if applicable (Postgres schema-scope enum
type only).
|
String getLiteral()
default Catalog getCatalog()
null
default Schema getSchema()
null
String getName()
null
Copyright © 2019. All rights reserved.