Class AlterSchemaRename


  • public class AlterSchemaRename
    extends DefineCommand
    This class represents the statement ALTER SCHEMA RENAME
    • Field Detail

      • oldSchema

        private Schema oldSchema
      • newSchemaName

        private java.lang.String newSchemaName
    • Constructor Detail

      • AlterSchemaRename

        public AlterSchemaRename​(SessionLocal session)
    • Method Detail

      • setOldSchema

        public void setOldSchema​(Schema schema)
      • 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