Class AlterTableRenameColumn


  • public class AlterTableRenameColumn
    extends AlterTable
    This class represents the statement ALTER TABLE ALTER COLUMN RENAME
    • Field Detail

      • ifExists

        private boolean ifExists
      • oldName

        private java.lang.String oldName
      • newName

        private java.lang.String newName
    • Constructor Detail

      • AlterTableRenameColumn

        public AlterTableRenameColumn​(SessionLocal session,
                                      Schema schema)
    • Method Detail

      • setIfExists

        public void setIfExists​(boolean b)
      • setOldColumnName

        public void setOldColumnName​(java.lang.String oldName)
      • setNewColumnName

        public void setNewColumnName​(java.lang.String newName)
      • 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