- All Implemented Interfaces:
Serializable
,Comparable<TableOptions.TableType>
,Constable
- Enclosing class:
- TableOptions
A description of the type of a
Table
.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionA table expression, such as a derived table, a joined table, a common table expression, etc.A table valued function that is defined by aRoutine
.A materialised view that is defined by aSelect
statement, and whose data is materialised in the schema.An ordinary table that is stored in the schema.A global temporary table that is stored in the schema and visible to everyone.A table type that is unknown to jOOQ.A view that is defined by aSelect
statement. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Whether the type is a function.final boolean
isTable()
Whether the type is a view.final boolean
isView()
Whether the type is a view.static TableOptions.TableType
Returns the enum constant of this class with the specified name.static TableOptions.TableType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TABLE
An ordinary table that is stored in the schema. -
TEMPORARY
A global temporary table that is stored in the schema and visible to everyone. -
VIEW
A view that is defined by aSelect
statement. -
MATERIALIZED_VIEW
A materialised view that is defined by aSelect
statement, and whose data is materialised in the schema. -
FUNCTION
A table valued function that is defined by aRoutine
. -
EXPRESSION
A table expression, such as a derived table, a joined table, a common table expression, etc. -
UNKNOWN
A table type that is unknown to jOOQ.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
isView
public final boolean isView()Whether the type is a view. -
isFunction
public final boolean isFunction()Whether the type is a function. -
isTable
public final boolean isTable()Whether the type is a view.
-