Class AddStringVirtualColumnForNullableColumnCommand
java.lang.Object
com.atlassian.confluence.upgrade.ddl.AddStringVirtualColumnForNullableColumnCommand
- All Implemented Interfaces:
AlterTableCommand
public class AddStringVirtualColumnForNullableColumnCommand
extends Object
implements AlterTableCommand
A command for creating a string virtual column with default placeholder based on a nullable column of a table
- Since:
- 9.1.0
-
Constructor Summary
ConstructorsConstructorDescriptionAddStringVirtualColumnForNullableColumnCommand
(String virtualColumn, String sourceColumn, String placeHolder) -
Method Summary
-
Constructor Details
-
AddStringVirtualColumnForNullableColumnCommand
-
-
Method Details
-
getCommandName
- Specified by:
getCommandName
in interfaceAlterTableCommand
- 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
- Specified by:
getCommandParameters
in interfaceAlterTableCommand
- 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"
-