Interface AlterTableCommand
-
- All Known Implementing Classes:
AddForeignKeyCommand
,AddUniqueConstraintCommand
,AlterColumnNullabilityCommand
,DropColumnCommand
,DropForeignKeyConstraintCommand
,DropUniqueConstraintByColumnsCommand
,DropUniqueConstraintCommand
public interface AlterTableCommand
Interface for all alter table commands.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getCommandName()
String
getCommandParameters()
-
-
-
Method Detail
-
getCommandName
String getCommandName()
- Returns:
- The keyword/name of the current command for the current database (e.g. altering a column is "alter column" on PostgreSQL and "modify" on MySQL.
-
getCommandParameters
String getCommandParameters()
- Returns:
- The part that comes after the command name. E.g. "colname set not null" which would be after "alter column colname set not null"
-
-