Class AddIndexChange
java.lang.Object
edu.internet2.middleware.grouper.ext.org.apache.ddlutils.alteration.TableChangeImplBase
edu.internet2.middleware.grouper.ext.org.apache.ddlutils.alteration.AddIndexChange
- All Implemented Interfaces:
ModelChange
,TableChange
Represents the addition of an index to a table.
- Version:
- $Revision: $
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Applies this change to the given database.Returns the new index.Methods inherited from class edu.internet2.middleware.grouper.ext.org.apache.ddlutils.alteration.TableChangeImplBase
getChangedTable
-
Constructor Details
-
AddIndexChange
Creates a new change object.- Parameters:
table
- The table to add the index tonewIndex
- The new index
-
-
Method Details
-
getNewIndex
Returns the new index.- Returns:
- The new index
-
apply
Applies this change to the given database.- Parameters:
database
- The databasecaseSensitive
- Whether the case of names matters
-