public interface AlterTableStep
ALTER TABLE
where the action can be decided.Modifier and Type | Method and Description |
---|---|
AlterTableFinalStep |
add(Constraint constraint)
Add an
ADD CONSTRAINT clause to the ALTER TABLE
statement. |
<T> AlterTableFinalStep |
add(Field<T> field,
DataType<T> type)
Add an
ADD COLUMN clause to the ALTER TABLE
statement. |
AlterTableFinalStep |
add(String field,
DataType<?> type)
Add an
ADD COLUMN clause to the ALTER TABLE
statement. |
<T> AlterTableFinalStep |
addColumn(Field<T> field,
DataType<T> type)
Add an
ADD COLUMN clause to the ALTER TABLE
statement. |
AlterTableFinalStep |
addColumn(String field,
DataType<?> type)
Add an
ADD COLUMN clause to the ALTER TABLE
statement. |
<T> AlterTableAlterStep<T> |
alter(Field<T> field)
Add an
ALTER COLUMN clause to the ALTER TABLE
statement. |
AlterTableAlterStep<Object> |
alter(String field)
Add an
ALTER COLUMN clause to the ALTER TABLE
statement. |
<T> AlterTableAlterStep<T> |
alterColumn(Field<T> field)
Add an
ALTER COLUMN clause to the ALTER TABLE
statement. |
AlterTableAlterStep<Object> |
alterColumn(String field)
Add an
ALTER COLUMN clause to the ALTER TABLE
statement. |
AlterTableFinalStep |
drop(Constraint constraint)
Add a
DROP CONSTRAINT clause to the ALTER TABLE
statement. |
AlterTableDropStep |
drop(Field<?> field)
Add an
DROP COLUMN clause to the ALTER TABLE
statement. |
AlterTableDropStep |
drop(String field)
Add an
DROP COLUMN clause to the ALTER TABLE
statement. |
AlterTableDropStep |
dropColumn(Field<?> field)
Add an
DROP COLUMN clause to the ALTER TABLE
statement. |
AlterTableDropStep |
dropColumn(String field)
Add an
DROP COLUMN clause to the ALTER TABLE
statement. |
AlterTableFinalStep |
dropConstraint(String constraint)
Add a
DROP CONSTRAINT clause to the ALTER TABLE
statement. |
@Support(value={ACCESS,ASE,CUBRID,DB2,DERBY,FIREBIRD,H2,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLSERVER,SYBASE}) <T> AlterTableAlterStep<T> alter(Field<T> field)
@Support(value={ACCESS,ASE,CUBRID,DB2,DERBY,FIREBIRD,H2,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLSERVER,SYBASE}) AlterTableAlterStep<Object> alter(String field)
@Support(value={ACCESS,ASE,CUBRID,DB2,DERBY,FIREBIRD,H2,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLSERVER,SYBASE}) <T> AlterTableAlterStep<T> alterColumn(Field<T> field)
ALTER COLUMN
clause to the ALTER TABLE
statement.@Support(value={ACCESS,ASE,CUBRID,DB2,DERBY,FIREBIRD,H2,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLSERVER,SYBASE}) AlterTableAlterStep<Object> alterColumn(String field)
ALTER COLUMN
clause to the ALTER TABLE
statement.@Support <T> AlterTableFinalStep add(Field<T> field, DataType<T> type)
ADD COLUMN
clause to the ALTER TABLE
statement.
This is an alias for addColumn(Field, DataType)
.
@Support AlterTableFinalStep add(String field, DataType<?> type)
ADD COLUMN
clause to the ALTER TABLE
statement.
This is an alias for addColumn(String, DataType)
.
@Support <T> AlterTableFinalStep addColumn(Field<T> field, DataType<T> type)
ADD COLUMN
clause to the ALTER TABLE
statement.@Support AlterTableFinalStep add(Constraint constraint)
ADD CONSTRAINT
clause to the ALTER TABLE
statement.@Support AlterTableFinalStep addColumn(String field, DataType<?> type)
ADD COLUMN
clause to the ALTER TABLE
statement.@Support(value={ACCESS,ASE,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLSERVER,SYBASE}) AlterTableDropStep drop(Field<?> field)
@Support(value={ACCESS,ASE,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLSERVER,SYBASE}) AlterTableDropStep drop(String field)
@Support(value={ACCESS,ASE,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLSERVER,SYBASE}) AlterTableDropStep dropColumn(Field<?> field)
DROP COLUMN
clause to the ALTER TABLE
statement.@Support(value={ACCESS,ASE,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLSERVER,SYBASE}) AlterTableDropStep dropColumn(String field)
DROP COLUMN
clause to the ALTER TABLE
statement.@Support AlterTableFinalStep drop(Constraint constraint)
DROP CONSTRAINT
clause to the ALTER TABLE
statement.@Support AlterTableFinalStep dropConstraint(String constraint)
DROP CONSTRAINT
clause to the ALTER TABLE
statement.DSL.constraint(String)
Copyright © 2015. All Rights Reserved.