Class AlterTableDropConstraint


public class AlterTableDropConstraint extends AlterTable
This class represents the statement ALTER TABLE DROP CONSTRAINT
  • Field Details

    • constraintName

      private String constraintName
    • ifExists

      private final boolean ifExists
    • dropAction

      private ConstraintActionType dropAction
  • Constructor Details

    • AlterTableDropConstraint

      public AlterTableDropConstraint(SessionLocal session, Schema schema, boolean ifExists)
  • Method Details

    • setConstraintName

      public void setConstraintName(String string)
    • setDropAction

      public void setDropAction(ConstraintActionType dropAction)
    • 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