java.lang.Object
org.jooq.TableOptions
- All Implemented Interfaces:
Serializable
A description of various additional
Table
options to describe the
table runtime meta model.- Author:
- Lukas Eder
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
TheON COMMIT
flag forTableOptions.TableType.GLOBAL_TEMPORARY
tables.static enum
A description of the type of aTable
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
static final @NotNull TableOptions
Create a newTableOptions
object for aTableOptions.TableType.EXPRESSION
.static final @NotNull TableOptions
function()
Create a newTableOptions
object for aTableOptions.TableType.FUNCTION
.static final @NotNull TableOptions
Create a newTableOptions
object for aTableOptions.TableType.FUNCTION
.static final @NotNull TableOptions
Create a newTableOptions
object for aTableOptions.TableType.GLOBAL_TEMPORARY
table.static final @NotNull TableOptions
globalTemporaryTable
(QOM.TableCommitAction onCommit) Create a newTableOptions
object for aTableOptions.TableType.GLOBAL_TEMPORARY
table.static final @NotNull TableOptions
globalTemporaryTable
(TableOptions.OnCommit onCommit) Create a newTableOptions
object for aTableOptions.TableType.GLOBAL_TEMPORARY
table.int
hashCode()
static final @NotNull TableOptions
Create a newTableOptions
object for aTableOptions.TableType.LOCAL_TEMPORARY
table.static final @NotNull TableOptions
Create a newTableOptions
object for aTableOptions.TableType.MATERIALIZED_VIEW
of unknown content.static final @NotNull TableOptions
materializedView
(String source) Create a newTableOptions
object for aTableOptions.TableType.MATERIALIZED_VIEW
of unknown content.static final @NotNull TableOptions
materializedView
(Select<?> select) Create a newTableOptions
object for aTableOptions.TableType.MATERIALIZED_VIEW
.static final @NotNull TableOptions
of
(TableOptions.TableType tableType) Get a newTableOptions
object for a given table type.final @Nullable TableOptions.OnCommit
onCommit()
TheON COMMIT
flag forTableOptions.TableType.GLOBAL_TEMPORARY
tables.final @Nullable Select
<?> select()
TheSELECT
statement defining thisTableOptions.TableType.VIEW
orTableOptions.TableType.MATERIALIZED_VIEW
.final @Nullable String
source()
TheSELECT
statement defining thisTableOptions.TableType.VIEW
orTableOptions.TableType.MATERIALIZED_VIEW
, in source form.static final @NotNull TableOptions
table()
Create a newTableOptions
object for aTableOptions.TableType.TABLE
.static final @NotNull TableOptions
Deprecated, for removal: This API element is subject to removal in a future version.static final @NotNull TableOptions
temporaryTable
(QOM.TableCommitAction onCommit) Deprecated, for removal: This API element is subject to removal in a future version.- 3.21.0 - [#18626] - UseglobalTemporaryTable(TableCommitAction)
.static final @NotNull TableOptions
temporaryTable
(TableOptions.OnCommit onCommit) Deprecated, for removal: This API element is subject to removal in a future version.- 3.21.0 - [#18626] - UseglobalTemporaryTable(OnCommit)
.toString()
final @NotNull TableOptions.TableType
type()
The table type.static final @NotNull TableOptions
view()
Create a newTableOptions
object for aTableOptions.TableType.VIEW
of unknown content.static final @NotNull TableOptions
Create a newTableOptions
object for aTableOptions.TableType.VIEW
.static final @NotNull TableOptions
Create a newTableOptions
object for aTableOptions.TableType.VIEW
.
-
Method Details
-
of
Get a newTableOptions
object for a given table type. -
table
Create a newTableOptions
object for aTableOptions.TableType.TABLE
. -
temporaryTable
Deprecated, for removal: This API element is subject to removal in a future version.- 3.21.0 - [#18626] - UseglobalTemporaryTable()
orlocalTemporaryTable()
instead.Create a newTableOptions
object for aTableOptions.TableType.GLOBAL_TEMPORARY
table. -
temporaryTable
@Deprecated(forRemoval=true) @NotNull public static final @NotNull TableOptions temporaryTable(TableOptions.OnCommit onCommit) Deprecated, for removal: This API element is subject to removal in a future version.- 3.21.0 - [#18626] - UseglobalTemporaryTable(OnCommit)
.Create a newTableOptions
object for aTableOptions.TableType.GLOBAL_TEMPORARY
table. -
temporaryTable
@Deprecated(forRemoval=true) @NotNull public static final @NotNull TableOptions temporaryTable(QOM.TableCommitAction onCommit) Deprecated, for removal: This API element is subject to removal in a future version.- 3.21.0 - [#18626] - UseglobalTemporaryTable(TableCommitAction)
.Create a newTableOptions
object for aTableOptions.TableType.GLOBAL_TEMPORARY
table. -
globalTemporaryTable
Create a newTableOptions
object for aTableOptions.TableType.GLOBAL_TEMPORARY
table. -
globalTemporaryTable
@NotNull public static final @NotNull TableOptions globalTemporaryTable(TableOptions.OnCommit onCommit) Create a newTableOptions
object for aTableOptions.TableType.GLOBAL_TEMPORARY
table. -
globalTemporaryTable
@NotNull public static final @NotNull TableOptions globalTemporaryTable(QOM.TableCommitAction onCommit) Create a newTableOptions
object for aTableOptions.TableType.GLOBAL_TEMPORARY
table. -
localTemporaryTable
Create a newTableOptions
object for aTableOptions.TableType.LOCAL_TEMPORARY
table. -
view
Create a newTableOptions
object for aTableOptions.TableType.VIEW
of unknown content. -
view
Create a newTableOptions
object for aTableOptions.TableType.VIEW
. -
view
Create a newTableOptions
object for aTableOptions.TableType.VIEW
. -
materializedView
Create a newTableOptions
object for aTableOptions.TableType.MATERIALIZED_VIEW
of unknown content. -
materializedView
Create a newTableOptions
object for aTableOptions.TableType.MATERIALIZED_VIEW
. -
materializedView
Create a newTableOptions
object for aTableOptions.TableType.MATERIALIZED_VIEW
of unknown content. -
expression
Create a newTableOptions
object for aTableOptions.TableType.EXPRESSION
. -
function
Create a newTableOptions
object for aTableOptions.TableType.FUNCTION
. -
function
Create a newTableOptions
object for aTableOptions.TableType.FUNCTION
. -
type
The table type.This is never
null
. -
onCommit
TheON COMMIT
flag forTableOptions.TableType.GLOBAL_TEMPORARY
tables.This may be
null
, if it is undefined, or unknown, or if the table is not aTableOptions.TableType.GLOBAL_TEMPORARY
table. -
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
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. -
hashCode
public int hashCode() -
equals
-
toString
-
globalTemporaryTable()
orlocalTemporaryTable()
instead.