- java.lang.Object
-
- org.jooq.TableOptions
-
- All Implemented Interfaces:
Serializable
public final class TableOptions extends Object implements Serializable
A description of various additionalTable
options 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 class
TableOptions.OnCommit
TheON COMMIT
flag forTableOptions.TableType.TEMPORARY
tables.static class
TableOptions.TableType
A description of the type of aTable
.
-
Method Summary
-
-
-
Method Detail
-
of
@NotNull public static final @NotNull TableOptions of(TableOptions.TableType tableType)
Get a newTableOptions
object for a given table type.
-
table
@NotNull public static final @NotNull TableOptions table()
Create a newTableOptions
object for aTableOptions.TableType.TABLE
.
-
temporaryTable
@NotNull public static final @NotNull TableOptions temporaryTable()
Create a newTableOptions
object for aTableOptions.TableType.TEMPORARY
.
-
temporaryTable
@NotNull public static final @NotNull TableOptions temporaryTable(TableOptions.OnCommit onCommit)
Create a newTableOptions
object for aTableOptions.TableType.TEMPORARY
.
-
view
@NotNull public static final @NotNull TableOptions view()
Create a newTableOptions
object for aTableOptions.TableType.VIEW
of unknown content.
-
view
@NotNull public static final @NotNull TableOptions view(Select<?> select)
Create a newTableOptions
object for aTableOptions.TableType.VIEW
.
-
view
@NotNull public static final @NotNull TableOptions view(String source)
Create a newTableOptions
object for aTableOptions.TableType.VIEW
.
-
materializedView
@NotNull public static final @NotNull TableOptions materializedView()
Create a newTableOptions
object for aTableOptions.TableType.MATERIALIZED_VIEW
of unknown content.
-
materializedView
@NotNull public static final @NotNull TableOptions materializedView(Select<?> select)
Create a newTableOptions
object for aTableOptions.TableType.MATERIALIZED_VIEW
.
-
expression
@NotNull public static final @NotNull TableOptions expression()
Create a newTableOptions
object for aTableOptions.TableType.EXPRESSION
.
-
function
@NotNull public static final @NotNull TableOptions function()
Create a newTableOptions
object for aTableOptions.TableType.FUNCTION
.
-
type
@NotNull public final @NotNull TableOptions.TableType type()
The table type.This is never
null
.
-
onCommit
@Nullable public final @Nullable TableOptions.OnCommit onCommit()
TheON COMMIT
flag forTableOptions.TableType.TEMPORARY
tables.This may be
null
, if it is undefined, or unknown, or if the table is not aTableOptions.TableType.TEMPORARY
table.
-
select
@Nullable public final @Nullable Select<?> select()
TheSELECT
statement defining thisTableOptions.TableType.VIEW
orTableOptions.TableType.MATERIALIZED_VIEW
.This may be
null
, if it is undefined, or unknown, or if the table is not a view.
-
source
@Nullable public final @Nullable String source()
TheSELECT
statement defining thisTableOptions.TableType.VIEW
orTableOptions.TableType.MATERIALIZED_VIEW
, in source form.This may be
null
, if it is undefined, or unknown, or if the table is not a view.
-
-