Class DropRole


public class DropRole extends DefineCommand
This class represents the statement DROP ROLE
  • Field Details

    • roleName

      private String roleName
    • ifExists

      private boolean ifExists
  • Constructor Details

  • Method Details

    • setRoleName

      public void setRoleName(String roleName)
    • update

      public long update()
      Description copied from class: Prepared
      Execute the statement.
      Overrides:
      update in class Prepared
      Returns:
      the update count
    • setIfExists

      public void setIfExists(boolean ifExists)
    • 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