- java.lang.Object
-
- org.jooq.TableOptions
-
- All Implemented Interfaces:
Serializable
public final class TableOptions extends Object implements Serializable
A description of various additionalTableoptions to describe the table runtime meta model.- Author:
- Lukas Eder
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTableOptions.OnCommitTheON COMMITflag forTableOptions.TableType.TEMPORARYtables.static classTableOptions.TableTypeA description of the type of aTable.
-
Method Summary
-
-
-
Method Detail
-
of
public static final TableOptions of(TableOptions.TableType tableType)
Get a newTableOptionsobject for a given table type.
-
table
public static final TableOptions table()
Create a newTableOptionsobject for aTableOptions.TableType.TABLE.
-
temporaryTable
public static final TableOptions temporaryTable()
Create a newTableOptionsobject for aTableOptions.TableType.TEMPORARY.
-
temporaryTable
public static final TableOptions temporaryTable(TableOptions.OnCommit onCommit)
Create a newTableOptionsobject for aTableOptions.TableType.TEMPORARY.
-
view
public static final TableOptions view()
Create a newTableOptionsobject for aTableOptions.TableType.VIEWof unknown content.
-
view
public static final TableOptions view(Select<?> select)
Create a newTableOptionsobject for aTableOptions.TableType.VIEW.
-
view
public static final TableOptions view(String source)
Create a newTableOptionsobject for aTableOptions.TableType.VIEW.
-
materializedView
public static final TableOptions materializedView()
Create a newTableOptionsobject for aTableOptions.TableType.MATERIALIZED_VIEWof unknown content.
-
materializedView
public static final TableOptions materializedView(Select<?> select)
Create a newTableOptionsobject for aTableOptions.TableType.MATERIALIZED_VIEW.
-
expression
public static final TableOptions expression()
Create a newTableOptionsobject for aTableOptions.TableType.EXPRESSION.
-
function
public static final TableOptions function()
Create a newTableOptionsobject for aTableOptions.TableType.FUNCTION.
-
type
public final TableOptions.TableType type()
The table type.This is never
null.
-
onCommit
public final TableOptions.OnCommit onCommit()
TheON COMMITflag forTableOptions.TableType.TEMPORARYtables.This may be
null, if it is undefined, or unknown, or if the table is not aTableOptions.TableType.TEMPORARYtable.
-
select
public final Select<?> select()
TheSELECTstatement defining thisTableOptions.TableType.VIEWorTableOptions.TableType.MATERIALIZED_VIEW.This may be
null, if it is undefined, or unknown, or if the table is not a view.
-
source
public final String source()
TheSELECTstatement defining thisTableOptions.TableType.VIEWorTableOptions.TableType.MATERIALIZED_VIEW, in source form.This may be
null, if it is undefined, or unknown, or if the table is not a view.
-
-