Class DBCreateOptions


  • public final class DBCreateOptions
    extends Object
    Author:
    Mark Vollmary
    • Constructor Detail

      • DBCreateOptions

        public DBCreateOptions()
    • Method Detail

      • users

        public DBCreateOptions users​(Collection<DatabaseUsersOptions> users)
        Parameters:
        users - array of user objects to initially create for the new database. User information will not be changed for users that already exist. If users is not specified or does not contain any users, a default user root will be created with an empty string password. This ensures that the new database will be accessible after it is created.
        Returns:
        options
      • getName

        public String getName()
      • name

        public DBCreateOptions name​(DbName dbName)
        Parameters:
        dbName - database name
        Returns:
        options