primaryKey
PRIMARY KEY
constraint to the table.
This does the same as adding DSL.primaryKey(String...)
via
constraint(Constraint)
explicitly.
Attachable
, AttachableQueryPart
, AutoCloseable
, CreateTableCommentStep
, CreateTableFinalStep
, CreateTableIndexStep
, CreateTableOnCommitStep
, CreateTableStorageStep
, DDLQuery
, Flow.Publisher<Integer>
, Publisher<Integer>
, org.reactivestreams.Publisher<Integer>
, Query
, QueryPart
, RowCountQuery
, Serializable
, Statement
CreateTableColumnStep
Query
that can create tables.
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:
@NotNull CreateTableConstraintStep
CHECK
constraint to the table.@NotNull CreateTableConstraintStep
constraint(Constraint constraint)
@NotNull CreateTableConstraintStep
constraints(Collection<? extends Constraint> constraints)
@NotNull CreateTableConstraintStep
constraints(Constraint... constraints)
@NotNull CreateTableConstraintStep
primaryKey(String... fields)
PRIMARY KEY
constraint to the table.@NotNull CreateTableConstraintStep
primaryKey(Collection<? extends Field<?>> fields)
PRIMARY KEY
constraint to the table.@NotNull CreateTableConstraintStep
primaryKey(Field<?>... fields)
PRIMARY KEY
constraint to the table.@NotNull CreateTableConstraintStep
primaryKey(Name... fields)
PRIMARY KEY
constraint to the table.@NotNull CreateTableConstraintStep
UNIQUE
constraint to the table.@NotNull CreateTableConstraintStep
unique(Collection<? extends Field<?>> fields)
UNIQUE
constraint to the table.@NotNull CreateTableConstraintStep
UNIQUE
constraint to the table.@NotNull CreateTableConstraintStep
UNIQUE
constraint to the table.attach, configuration, detach
getBindValues, getParam, getParams, getSQL, getSQL
comment, comment
index, indexes, indexes
onCommitDeleteRows, onCommitDrop, onCommitPreserveRows
storage, storage, storage, storage
subscribe
bind, bind, cancel, close, execute, executeAsync, executeAsync, isExecutable, keepStatement, poolable, queryTimeout
PRIMARY KEY
constraint to the table.
This does the same as adding DSL.primaryKey(String...)
via
constraint(Constraint)
explicitly.
PRIMARY KEY
constraint to the table.
This does the same as adding DSL.primaryKey(Name...)
via
constraint(Constraint)
explicitly.
PRIMARY KEY
constraint to the table.
This does the same as adding DSL.primaryKey(Field...)
via
constraint(Constraint)
explicitly.
PRIMARY KEY
constraint to the table.
This does the same as adding DSL.primaryKey(Field...)
via
constraint(Constraint)
explicitly.
UNIQUE
constraint to the table.
This does the same as adding DSL.unique(String...)
via
constraint(Constraint)
explicitly.
UNIQUE
constraint to the table.
This does the same as adding DSL.unique(Name...)
via
constraint(Constraint)
explicitly.
UNIQUE
constraint to the table.
This does the same as adding DSL.unique(Field...)
via
constraint(Constraint)
explicitly.
UNIQUE
constraint to the table.
This does the same as adding DSL.unique(Field...)
via
constraint(Constraint)
explicitly.
CHECK
constraint to the table.
This does the same as adding DSL.check(Condition)
via
constraint(Constraint)
explicitly.