Modifier and Type | Method and Description |
---|---|
CreateTableOnCommitStep |
as(Select<? extends R> select)
Add an
AS clause to the CREATE TABLE statement. |
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. |
@Support(value={ACCESS,ASE,CUBRID,DB2,DERBY,H2,HANA,HSQLDB,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLSERVER,SQLITE}) CreateTableOnCommitStep as(Select<? extends R> select)
AS
clause to the CREATE TABLE
statement.@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.