public interface AlterIndexStep
ALTER INDEX where the action can be decided.| Modifier and Type | Method and Description |
|---|---|
AlterIndexFinalStep |
renameTo(Index newName)
Add a
RENAME TO clause to the ALTER INDEX
statement. |
AlterIndexFinalStep |
renameTo(Name newName)
Add a
RENAME TO clause to the ALTER INDEX
statement. |
AlterIndexFinalStep |
renameTo(java.lang.String newName)
Add a
RENAME TO clause to the ALTER INDEX
statement. |
@Support(value={DB2,DERBY,H2,HSQLDB,ORACLE,POSTGRES}) AlterIndexFinalStep renameTo(java.lang.String newName)
RENAME TO clause to the ALTER INDEX
statement.
Note that in some databases, including MySQL and SQL Server, the index
namespace is tied to a table, not a schema. In those databases, it is
recommended to call DSLContext.alterTable(String) with
AlterTableStep.renameIndex(String) instead.
@Support(value={DB2,DERBY,H2,HSQLDB,ORACLE,POSTGRES}) AlterIndexFinalStep renameTo(Name newName)
RENAME TO clause to the ALTER INDEX
statement.
Note that in some databases, including MySQL and SQL Server, the index
namespace is tied to a table, not a schema. In those databases, it is
recommended to call DSLContext.alterTable(Name) with
AlterTableStep.renameIndex(Name) instead.
@Support(value={DB2,DERBY,H2,HSQLDB,ORACLE,POSTGRES}) AlterIndexFinalStep renameTo(Index newName)
RENAME TO clause to the ALTER INDEX
statement.
Note that in some databases, including MySQL and SQL Server, the index
namespace is tied to a table, not a schema. In those databases, it is
recommended to call DSLContext.alterTable(Name) with
AlterTableStep.renameIndex(Index) instead.
Copyright © 2018. All Rights Reserved.