GPUdb C++ API
Version 6.2.0.3
|
A set of input parameters for createRole(const CreateRoleRequest&) const. More...
#include <gpudb/protocol/create_role.h>
Public Member Functions | |
CreateRoleRequest () | |
Constructs a CreateRoleRequest object with default parameter values. 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 |
std::map< std::string, std::string > | options |
A set of input parameters for createRole(const CreateRoleRequest&) const.
Creates a new role.
Definition at line 18 of file create_role.h.
|
inline |
Constructs a CreateRoleRequest object with default parameter values.
Definition at line 24 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 40 of file create_role.h.
std::string gpudb::CreateRoleRequest::name |
Definition at line 46 of file create_role.h.
std::map<std::string, std::string> gpudb::CreateRoleRequest::options |
Definition at line 47 of file create_role.h.