Top Description Methods
org.jooq

public Interface CreateTypeStep

Known Direct Implementers
org.jooq.impl.CreateTypeImpl
Imports
org.jetbrains.annotations.*, java.util.Collection

A Query that can create types.

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:

Author
Lukas Eder

Method Summary

Modifier and TypeMethod and Description
public @NotNull CreateTypeFinalStep
asEnum()

Deprecated as a consequence of CreateTypeFinalStep being deprecated.
Add the AS ENUM clause to the CREATE TYPE statement.
public @NotNull CreateTypeFinalStep
asEnum(String... values)

Deprecated as a consequence of CreateTypeFinalStep being deprecated.
Add the AS ENUM clause to the CREATE TYPE statement.
public @NotNull CreateTypeFinalStep
asEnum(Field<String>... values)

Deprecated as a consequence of Field and CreateTypeFinalStep being deprecated.
Add the AS ENUM clause to the CREATE TYPE statement.
public @NotNull CreateTypeFinalStep
asEnum(Collection<?> values)

Deprecated as a consequence of CreateTypeFinalStep being deprecated.
Add the AS ENUM clause to the CREATE TYPE statement.

Method Detail

asEnumback to summary
public @NotNull CreateTypeFinalStep asEnum()

Deprecated

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

Add the AS ENUM clause to the CREATE TYPE statement.

Annotations
@NotNull
@CheckReturnValue
@Support:H2, POSTGRES, YUGABYTEDB
asEnumback to summary
public @NotNull CreateTypeFinalStep asEnum(String... values)

Deprecated

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

Add the AS ENUM clause to the CREATE TYPE statement.

Annotations
@NotNull
@CheckReturnValue
@Support:H2, POSTGRES, YUGABYTEDB
asEnumback to summary
public @NotNull CreateTypeFinalStep asEnum(Field<String>... values)

Deprecated

as a consequence of Field and CreateTypeFinalStep being deprecated. See corresponding docs for further information.

Add the AS ENUM clause to the CREATE TYPE statement.

Annotations
@SuppressWarnings:unchecked
@NotNull
@CheckReturnValue
@Support:H2, POSTGRES, YUGABYTEDB
asEnumback to summary
public @NotNull CreateTypeFinalStep asEnum(Collection<?> values)

Deprecated

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

Add the AS ENUM clause to the CREATE TYPE statement.

Annotations
@NotNull
@CheckReturnValue
@Support:H2, POSTGRES, YUGABYTEDB