Class AlterTableRenameColumn


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

    • ifExists

      private boolean ifExists
    • oldName

      private String oldName
    • newName

      private String newName
  • Constructor Details

    • AlterTableRenameColumn

      public AlterTableRenameColumn(SessionLocal session, Schema schema)
  • Method Details

    • setIfExists

      public void setIfExists(boolean b)
    • setOldColumnName

      public void setOldColumnName(String oldName)
    • setNewColumnName

      public void setNewColumnName(String newName)
    • update

      public long update(Table table)
      Specified by:
      update in class AlterTable
    • 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