public interface AlterTableStep
ALTER TABLE
statement where the action can be
decided.Modifier and Type | Method and Description |
---|---|
AlterTableUsingIndexStep |
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(Name field,
DataType<?> 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(Name field,
DataType<?> 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(Name 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(Name 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(Name 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(Name 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(Name constraint)
Add a
DROP CONSTRAINT clause to the ALTER TABLE
statement. |
AlterTableFinalStep |
dropConstraint(String constraint)
Add a
DROP CONSTRAINT clause to the ALTER TABLE
statement. |
AlterTableRenameColumnToStep |
renameColumn(Field<?> oldName)
Add a
RENAME COLUMN clause to the ALTER TABLE
statement. |
AlterTableRenameColumnToStep |
renameColumn(Name oldName)
Add a
RENAME COLUMN clause to the ALTER TABLE
statement. |
AlterTableRenameColumnToStep |
renameColumn(String oldName)
Add a
RENAME COLUMN clause to the ALTER TABLE
statement. |
AlterTableRenameConstraintToStep |
renameConstraint(Constraint oldName)
Add a
RENAME CONSTRAINT clause to the ALTER TABLE
statement. |
AlterTableRenameConstraintToStep |
renameConstraint(Name oldName)
Add a
RENAME CONSTRAINT clause to the ALTER TABLE
statement. |
AlterTableRenameConstraintToStep |
renameConstraint(String oldName)
Add a
RENAME CONSTRAINT clause to the ALTER TABLE
statement. |
AlterTableFinalStep |
renameTo(Name newName)
Add a
RENAME TO clause to the ALTER TABLE
statement. |
AlterTableFinalStep |
renameTo(String newName)
Add a
RENAME TO clause to the ALTER TABLE
statement. |
AlterTableFinalStep |
renameTo(Table<?> newName)
Add a
RENAME TO clause to the ALTER TABLE
statement. |
@Support AlterTableFinalStep renameTo(Table<?> newName)
RENAME TO
clause to the ALTER TABLE
statement.@Support AlterTableFinalStep renameTo(Name newName)
RENAME TO
clause to the ALTER TABLE
statement.@Support AlterTableFinalStep renameTo(String newName)
RENAME TO
clause to the ALTER TABLE
statement.@Support AlterTableRenameColumnToStep renameColumn(Field<?> oldName)
RENAME COLUMN
clause to the ALTER TABLE
statement.@Support AlterTableRenameColumnToStep renameColumn(Name oldName)
RENAME COLUMN
clause to the ALTER TABLE
statement.@Support AlterTableRenameColumnToStep renameColumn(String oldName)
RENAME COLUMN
clause to the ALTER TABLE
statement.@Support AlterTableRenameConstraintToStep renameConstraint(Constraint oldName)
RENAME CONSTRAINT
clause to the ALTER TABLE
statement.@Support AlterTableRenameConstraintToStep renameConstraint(Name oldName)
RENAME CONSTRAINT
clause to the ALTER TABLE
statement.@Support AlterTableRenameConstraintToStep renameConstraint(String oldName)
RENAME 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(Name 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(Name 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(Name field, DataType<?> type)
ADD COLUMN
clause to the ALTER TABLE
statement.
This is an alias for addColumn(Name, 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 addColumn(Name field, DataType<?> type)
ADD COLUMN
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,REDSHIFT,SQLSERVER,SYBASE,VERTICA}) AlterTableUsingIndexStep add(Constraint constraint)
ADD CONSTRAINT
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(Name 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(Name 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(value={ACCESS,ASE,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLSERVER,SYBASE,VERTICA}) AlterTableFinalStep drop(Constraint constraint)
DROP CONSTRAINT
clause to the ALTER TABLE
statement.@Support(value={ACCESS,ASE,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLSERVER,SYBASE,VERTICA}) AlterTableFinalStep dropConstraint(Name constraint)
DROP CONSTRAINT
clause to the ALTER TABLE
statement.DSL.constraint(String)
@Support(value={ACCESS,ASE,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLSERVER,SYBASE,VERTICA}) AlterTableFinalStep dropConstraint(String constraint)
DROP CONSTRAINT
clause to the ALTER TABLE
statement.DSL.constraint(String)
Copyright © 2017. All Rights Reserved.