Class AlterIndexRename


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

      • ifExists

        private boolean ifExists
      • oldSchema

        private Schema oldSchema
      • oldIndexName

        private java.lang.String oldIndexName
      • newIndexName

        private java.lang.String newIndexName
    • Constructor Detail

      • AlterIndexRename

        public AlterIndexRename​(SessionLocal session)
    • Method Detail

      • setIfExists

        public void setIfExists​(boolean b)
      • setOldSchema

        public void setOldSchema​(Schema old)
      • setOldName

        public void setOldName​(java.lang.String name)
      • setNewName

        public void setNewName​(java.lang.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