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.
|
java.lang.String |
getLiteral()
The literal as defined in the database
|
java.lang.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).
|
java.lang.String getLiteral()
Catalog getCatalog()
null
Schema getSchema()
null
java.lang.String getName()
null
Copyright © 2018. All Rights Reserved.