com.atlassian.confluence.upgrade.ddl
Class DropColumnCommand

java.lang.Object
  extended by com.atlassian.confluence.upgrade.ddl.DropColumnCommand
All Implemented Interfaces:
AlterTableCommand

public class DropColumnCommand
extends java.lang.Object
implements AlterTableCommand


Constructor Summary
DropColumnCommand(java.lang.String columnName)
           
 
Method Summary
 java.lang.String getCommandName()
           
 java.lang.String getCommandParameters()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DropColumnCommand

public DropColumnCommand(java.lang.String columnName)
Method Detail

getCommandName

public java.lang.String getCommandName()
Specified by:
getCommandName in interface AlterTableCommand
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

public java.lang.String getCommandParameters()
Specified by:
getCommandParameters in interface AlterTableCommand
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"


Copyright © 2003-2014 Atlassian. All Rights Reserved.