GPUdb C++ API
Version 7.2.2.4
|
A set of parameters for GPUdb::alterSchema. More...
#include <gpudb/protocol/alter_schema.h>
Public Member Functions | |
AlterSchemaRequest () | |
Constructs an AlterSchemaRequest object with default parameters. More... | |
AlterSchemaRequest (const std::string &schemaName_, const std::string &action_, const std::string &value_, const std::map< std::string, std::string > &options_) | |
Constructs an AlterSchemaRequest object with the specified parameters. More... | |
Public Attributes | |
std::string | schemaName |
Name of the schema to be altered. More... | |
std::string | action |
Modification operation to be applied. More... | |
std::string | value |
The value of the modification, depending on action. More... | |
std::map< std::string, std::string > | options |
Optional parameters. More... | |
A set of parameters for GPUdb::alterSchema.
Used to change the name of a SQL-style schema, specified in schemaName.
Definition at line 20 of file alter_schema.h.
|
inline |
Constructs an AlterSchemaRequest object with default parameters.
Definition at line 25 of file alter_schema.h.
|
inline |
Constructs an AlterSchemaRequest object with the specified parameters.
[in] | schemaName_ | Name of the schema to be altered. |
[in] | action_ | Modification operation to be applied. Supported values:
|
[in] | value_ | The value of the modification, depending on action_. For now the only value of action_ is rename_schema. In this case the value is the new name of the schema. |
[in] | options_ | Optional parameters. The default value is an empty map. |
Definition at line 59 of file alter_schema.h.
std::string gpudb::AlterSchemaRequest::action |
Modification operation to be applied.
Supported values:
Definition at line 85 of file alter_schema.h.
std::map<std::string, std::string> gpudb::AlterSchemaRequest::options |
Optional parameters.
The default value is an empty map.
Definition at line 98 of file alter_schema.h.
std::string gpudb::AlterSchemaRequest::schemaName |
Name of the schema to be altered.
Definition at line 70 of file alter_schema.h.
std::string gpudb::AlterSchemaRequest::value |
The value of the modification, depending on action.
For now the only value of action is rename_schema. In this case the value is the new name of the schema.
Definition at line 93 of file alter_schema.h.