public interface CreateTableColumnStep extends CreateTableConstraintStep
Query
that can create tables.Modifier and Type | Method and Description |
---|---|
CreateTableColumnStep |
column(Field<?> field)
Add a column to the column list of the
CREATE TABLE
statement. |
<T> CreateTableColumnStep |
column(Field<T> field,
DataType<T> type)
Add a column to the column list of the
CREATE TABLE statement. |
CreateTableColumnStep |
column(Name field,
DataType<?> type)
Add a column to the column list of the
CREATE TABLE statement. |
CreateTableColumnStep |
column(String field,
DataType<?> type)
Add a column to the column list of the
CREATE TABLE statement. |
CreateTableColumnStep |
columns(Collection<? extends Field<?>> fields)
Add several columns to the column list of the
CREATE TABLE
statement. |
CreateTableColumnStep |
columns(Field<?>... fields)
Add several columns to the column list of the
CREATE TABLE
statement. |
constraint, constraints, constraints
onCommitDeleteRows, onCommitDrop, onCommitPreserveRows
bind, bind, cancel, close, execute, executeAsync, executeAsync, getBindValues, getParam, getParams, getSQL, getSQL, getSQL, isExecutable, keepStatement, queryTimeout
attach, detach
@Support CreateTableColumnStep column(Field<?> field)
CREATE TABLE
statement.
This is the same as calling column(Field, DataType)
with
Field.getDataType()
as the argument data type.
@Support <T> CreateTableColumnStep column(Field<T> field, DataType<T> type)
CREATE TABLE
statement.@Support CreateTableColumnStep column(Name field, DataType<?> type)
CREATE TABLE
statement.@Support CreateTableColumnStep column(String field, DataType<?> type)
CREATE TABLE
statement.@Support CreateTableColumnStep columns(Field<?>... fields)
CREATE TABLE
statement.
This is the same as calling column(Field, DataType)
for each
column, with Field.getDataType()
as the argument data type.
@Support CreateTableColumnStep columns(Collection<? extends Field<?>> fields)
CREATE TABLE
statement.
This is the same as calling column(Field, DataType)
for each
column, with Field.getDataType()
as the argument data type.
Copyright © 2016. All Rights Reserved.