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, StatementCreateTableColumnStepQuery 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 CreateTableConstraintStepCHECK
constraint to the table.@NotNull CreateTableConstraintStepconstraint(Constraint constraint) @NotNull CreateTableConstraintStepconstraints(Collection<? extends Constraint> constraints) @NotNull CreateTableConstraintStepconstraints(Constraint... constraints) @NotNull CreateTableConstraintStepprimaryKey(String... fields) PRIMARY KEY constraint to the table.@NotNull CreateTableConstraintStepprimaryKey(Collection<? extends Field<?>> fields) PRIMARY KEY constraint to the table.@NotNull CreateTableConstraintStepprimaryKey(Field<?>... fields) PRIMARY KEY constraint to the table.@NotNull CreateTableConstraintStepprimaryKey(Name... fields) PRIMARY KEY constraint to the table.@NotNull CreateTableConstraintStepUNIQUE
constraint to the table.@NotNull CreateTableConstraintStepunique(Collection<? extends Field<?>> fields) UNIQUE
constraint to the table.@NotNull CreateTableConstraintStepUNIQUE
constraint to the table.@NotNull CreateTableConstraintStepUNIQUE
constraint to the table.attach, configuration, detachgetBindValues, getParam, getParams, getSQL, getSQLcomment, commentindex, indexes, indexesonCommitDeleteRows, onCommitDrop, onCommitPreserveRowsstorage, storage, storage, storagesubscribebind, bind, cancel, close, execute, executeAsync, executeAsync, isExecutable, keepStatement, poolable, queryTimeoutPRIMARY 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.