Top Description Methods
org.jooq

public Interface CreateTableAsStep

extends CreateTableOnCommitStep
Known Direct Subinterfaces
org.jooq.CreateTableElementListStep
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 CreateTableWithDataStep
as(Select<?> select)

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

Method Detail

asback to summary
public @NotNull CreateTableWithDataStep as(Select<?> select)

Deprecated

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

Add the AS clause to the CREATE TABLE statement.

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