Class CreateUser


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

    • Method Detail

      • setIfNotExists

        public void setIfNotExists​(boolean ifNotExists)
      • setUserName

        public void setUserName​(java.lang.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
      • setAdmin

        public void setAdmin​(boolean b)
      • setComment

        public void setComment​(java.lang.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