- java.lang.Object
-
- java.lang.Enum<TableOptions.TableType>
-
- org.jooq.TableOptions.TableType
-
- All Implemented Interfaces:
Serializable
,Comparable<TableOptions.TableType>
- Enclosing class:
- TableOptions
public static enum TableOptions.TableType extends Enum<TableOptions.TableType>
A description of the type of aTable
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXPRESSION
A table expression, such as a derived table, a joined table, a common table expression, etc.FUNCTION
A table valued function that is defined by aRoutine
.MATERIALIZED_VIEW
A materialised view that is defined by aSelect
statement, and whose data is materialised in the schema.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.UNKNOWN
A table type that is unknown to jOOQ.VIEW
A view that is defined by aSelect
statement.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isTable()
Whether the type is a view.boolean
isView()
Whether the type is a view.static TableOptions.TableType
valueOf(String name)
Returns the enum constant of this type with the specified name.static TableOptions.TableType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TABLE
public static final TableOptions.TableType TABLE
An ordinary table that is stored in the schema.
-
TEMPORARY
public static final TableOptions.TableType TEMPORARY
A global temporary table that is stored in the schema and visible to everyone.
-
VIEW
public static final TableOptions.TableType VIEW
A view that is defined by aSelect
statement.
-
MATERIALIZED_VIEW
public static final TableOptions.TableType MATERIALIZED_VIEW
A materialised view that is defined by aSelect
statement, and whose data is materialised in the schema.
-
FUNCTION
public static final TableOptions.TableType FUNCTION
A table valued function that is defined by aRoutine
.
-
EXPRESSION
public static final TableOptions.TableType EXPRESSION
A table expression, such as a derived table, a joined table, a common table expression, etc.
-
UNKNOWN
public static final TableOptions.TableType UNKNOWN
A table type that is unknown to jOOQ.
-
-
Method Detail
-
values
public static TableOptions.TableType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TableOptions.TableType c : TableOptions.TableType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TableOptions.TableType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
isView
public final boolean isView()
Whether the type is a view.
-
isTable
public final boolean isTable()
Whether the type is a view.
-
-