Class CreateUser


public class CreateUser extends DefineCommand
This class represents the statement CREATE USER
  • Constructor Details

  • Method Details

    • setIfNotExists

      public void setIfNotExists(boolean ifNotExists)
    • setUserName

      public void setUserName(String userName)
    • setPassword

      public void setPassword(Expression password)
    • update

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

      public void setSalt(Expression e)
    • setHash

      public void setHash(Expression e)
    • setAdmin

      public void setAdmin(boolean b)
    • setComment

      public void setComment(String comment)
    • 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