Class RemoveIndexChange

java.lang.Object
org.jumpmind.db.alter.TableChangeImplBase
org.jumpmind.db.alter.RemoveIndexChange
All Implemented Interfaces:
IModelChange, TableChange

public class RemoveIndexChange extends TableChangeImplBase
Represents the removal of an index from a table.
  • Constructor Details

    • RemoveIndexChange

      public RemoveIndexChange(Table table, IIndex index)
      Creates a new change object.
      Parameters:
      table - The table to remove the index from
      index - The index
  • Method Details

    • getIndex

      public IIndex getIndex()
      Returns the index.
      Returns:
      The index
    • apply

      public void apply(Database database, boolean caseSensitive)
      Applies this change to the given database.
      Parameters:
      database - The database
      caseSensitive - Whether the case of names matters