Class MIndex
java.lang.Object
io.ebeaninternal.dbmigration.model.MIndex
Index as part of the logical model.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCompare with an index of the same name.Return a CreateIndex migration for this index.Create a DropIndex migration for this index.Return the columns in the index (in order).Return the index name.getKey()Return the table this index is on.
-
Constructor Details
-
MIndex
Create a single column non unique index. -
MIndex
Create a multi column non unique index. -
MIndex
-
MIndex
-
-
Method Details
-
getKey
-
getIndexName
Return the index name. -
getTableName
Return the table this index is on. -
getColumns
Return the columns in the index (in order). -
createIndex
Return a CreateIndex migration for this index. -
dropIndex
Create a DropIndex migration for this index. -
compare
Compare with an index of the same name.
-