Class DropUser


public class DropUser extends DefineCommand
This class represents the statement DROP USER
  • Field Details

    • ifExists

      private boolean ifExists
    • userName

      private String userName
  • Constructor Details

  • Method Details

    • setIfExists

      public void setIfExists(boolean b)
    • setUserName

      public void setUserName(String userName)
    • update

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

      public boolean isTransactional()
      Description copied from class: Prepared
      Check if this command is transactional. If it is not, then it forces the current transaction to commit.
      Overrides:
      isTransactional in class DefineCommand
      Returns:
      true if it is
    • 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