liquibase.change.core
Class DropIndexChange

java.lang.Object
  extended by liquibase.change.AbstractChange
      extended by liquibase.change.core.DropIndexChange
All Implemented Interfaces:
Change

public class DropIndexChange
extends AbstractChange

Drops an existing index.


Constructor Summary
DropIndexChange()
           
 
Method Summary
 SqlStatement[] generateStatements(Database database)
          Generates the SQL statements required to run the change
 String getAssociatedWith()
           
 String getConfirmationMessage()
           
 String getIndexName()
           
 String getSchemaName()
           
 String getTableName()
           
 void setAssociatedWith(String associatedWith)
           
 void setIndexName(String indexName)
           
 void setSchemaName(String schemaName)
           
 void setTableName(String tableName)
           
 
Methods inherited from class liquibase.change.AbstractChange
createInverses, generateCheckSum, generateRollbackStatements, getAffectedDatabaseObjects, getChangeMetaData, getChangeSet, getResourceAccessor, init, requiresUpdatedDatabaseMetadata, setChangeSet, setPriority, setResourceAccessor, supports, supportsRollback, validate, warn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DropIndexChange

public DropIndexChange()
Method Detail

getSchemaName

public String getSchemaName()

setSchemaName

public void setSchemaName(String schemaName)

getIndexName

public String getIndexName()

setIndexName

public void setIndexName(String indexName)

getTableName

public String getTableName()

setTableName

public void setTableName(String tableName)

generateStatements

public SqlStatement[] generateStatements(Database database)
Description copied from interface: Change
Generates the SQL statements required to run the change

Parameters:
database - databasethe target Database associated to this change's statements
Returns:
an array of Strings with the statements

getConfirmationMessage

public String getConfirmationMessage()
Returns:
Confirmation message to be displayed after the change is executed

getAssociatedWith

public String getAssociatedWith()

setAssociatedWith

public void setAssociatedWith(String associatedWith)


Copyright © 2004-2011 Liquibase.org. All Rights Reserved.