Top Description Methods
org.jooq

public Interface CreateTableWithDataStep

extends CreateTableOnCommitStep
Known Direct Implementers
org.jooq.impl.CreateTableImpl
Annotations
@SuppressWarnings:unused
Static Imports
org.jooq.SQLDialect.*, org.jooq.impl.DSL.*

Deprecated

as a consequence of CreateTableOnCommitStep being deprecated. See corresponding docs for further information.

A step in the construction of the CREATE TABLE statement.

Referencing XYZ*Step types directly from client code

It is usually not recommended to reference any XYZ*Step types directly from client code, or assign them to local variables. When writing dynamic SQL, creating a statement's components dynamically, and passing them to the DSL API statically is usually a better choice. See the manual's section about dynamic SQL for details: https://www.jooq.org/doc/latest/manual/sql-building/dynamic-sql.

Drawbacks of referencing the XYZ*Step types directly:

Method Summary

Modifier and TypeMethod and Description
public @NotNull CreateTableOnCommitStep
withData()

Deprecated as a consequence of CreateTableOnCommitStep being deprecated.
Add the WITH DATA clause to the CREATE TABLE statement.
public @NotNull CreateTableOnCommitStep
withNoData()

Deprecated as a consequence of CreateTableOnCommitStep being deprecated.
Add the WITH NO DATA clause to the CREATE TABLE statement.
Inherited from org.jooq.CreateTableOnCommitStep:
onCommitDeleteRowsonCommitDroponCommitPreserveRows

Method Detail

withDataback to summary
public @NotNull CreateTableOnCommitStep withData()

Deprecated

as a consequence of CreateTableOnCommitStep being deprecated. See corresponding docs for further information.

Add the WITH DATA clause to the CREATE TABLE statement.

Annotations
@Support:CUBRID, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE, YUGABYTEDB
@NotNull
@CheckReturnValue
withNoDataback to summary
public @NotNull CreateTableOnCommitStep withNoData()

Deprecated

as a consequence of CreateTableOnCommitStep being deprecated. See corresponding docs for further information.

Add the WITH NO DATA clause to the CREATE TABLE statement.

Annotations
@Support:CUBRID, DERBY, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE, YUGABYTEDB
@NotNull
@CheckReturnValue