Class CreateUserBuilder

All Implemented Interfaces:
ISqlBuilder, ISqlKeywords

public class CreateUserBuilder extends AbstractCreateSqlBuilder
The Class CreateUserBuilder.
  • Constructor Details

    • CreateUserBuilder

      public CreateUserBuilder(ISqlDialect dialect, String userId, String password)
      Instantiates a new creates the user builder.
      Parameters:
      dialect - the dialect
      userId - the user id
      password - the password
  • Method Details

    • generate

      public String generate()
      Generate.
      Returns:
      the string
    • generateCreateUserStatement

      protected String generateCreateUserStatement(String user, String pass)
      Generate create user statement.
      Parameters:
      user - the user
      pass - the pass
      Returns:
      the string
    • getPasswordEscapeSymbol

      protected char getPasswordEscapeSymbol()
      Gets the password escape symbol.
      Returns:
      the password escape symbol