GPUdb C++ API
Version 7.2.2.4
|
A set of parameters for GPUdb::createRole. More...
#include <gpudb/protocol/create_role.h>
Public Member Functions | |
CreateRoleRequest () | |
Constructs a CreateRoleRequest object with default parameters. More... | |
CreateRoleRequest (const std::string &name_, const std::map< std::string, std::string > &options_) | |
Constructs a CreateRoleRequest object with the specified parameters. More... | |
Public Attributes | |
std::string | name |
Name of the role to be created. More... | |
std::map< std::string, std::string > | options |
Optional parameters. More... | |
A set of parameters for GPUdb::createRole.
Creates a new role.
Definition at line 17 of file create_role.h.
|
inline |
Constructs a CreateRoleRequest object with default parameters.
Definition at line 22 of file create_role.h.
|
inline |
Constructs a CreateRoleRequest object with the specified parameters.
[in] | name_ | Name of the role to be created. Must contain only lowercase letters, digits, and underscores, and cannot begin with a digit. Must not be the same name as an existing user or role. |
[in] | options_ | Optional parameters.
|
Definition at line 44 of file create_role.h.
std::string gpudb::CreateRoleRequest::name |
Name of the role to be created.
Must contain only lowercase letters, digits, and underscores, and cannot begin with a digit. Must not be the same name as an existing user or role.
Definition at line 55 of file create_role.h.
std::map<std::string, std::string> gpudb::CreateRoleRequest::options |
Optional parameters.
The default value is an empty map.
Definition at line 66 of file create_role.h.