Class AlterIndexRename


public class AlterIndexRename extends DefineCommand
This class represents the statement ALTER INDEX RENAME
  • Field Details

    • ifExists

      private boolean ifExists
    • oldSchema

      private Schema oldSchema
    • oldIndexName

      private String oldIndexName
    • newIndexName

      private String newIndexName
  • Constructor Details

    • AlterIndexRename

      public AlterIndexRename(SessionLocal session)
  • Method Details

    • setIfExists

      public void setIfExists(boolean b)
    • setOldSchema

      public void setOldSchema(Schema old)
    • setOldName

      public void setOldName(String name)
    • setNewName

      public void setNewName(String name)
    • update

      public long update()
      Description copied from class: Prepared
      Execute the statement.
      Overrides:
      update in class Prepared
      Returns:
      the update count
    • getType

      public int getType()
      Description copied from class: Prepared
      Get the command type as defined in CommandInterface
      Specified by:
      getType in class Prepared
      Returns:
      the statement type