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(java.lang.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(java.lang.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<java.lang.Object> |
alter(java.lang.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<java.lang.Object> |
alterColumn(java.lang.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(java.lang.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(java.lang.String field)
Add an
DROP COLUMN clause to the ALTER TABLE
statement. |
AlterTableFinalStep |
dropConstraint(java.lang.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<java.lang.Object> alter(java.lang.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<java.lang.Object> alterColumn(java.lang.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(java.lang.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(java.lang.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(java.lang.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(java.lang.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(java.lang.String constraint)
DROP CONSTRAINT
clause to the ALTER TABLE
statement.DSL.constraint(String)
Copyright © 2015. All Rights Reserved.