GPUdb C++ API
Version 7.2.2.4
|
A set of parameters for GPUdb::createTable. More...
#include <gpudb/protocol/create_table.h>
Public Member Functions | |
CreateTableRequest () | |
Constructs a CreateTableRequest object with default parameters. More... | |
CreateTableRequest (const std::string &tableName_, const std::string &typeId_, const std::map< std::string, std::string > &options_) | |
Constructs a CreateTableRequest object with the specified parameters. More... | |
Public Attributes | |
std::string | tableName |
Name of the table to be created, in [ schema_name. ]table_name format, using standard name resolution rules and meeting table naming criteria. More... | |
std::string | typeId |
ID of a currently registered type. More... | |
std::map< std::string, std::string > | options |
Optional parameters. More... | |
A set of parameters for GPUdb::createTable.
Creates a new table. If a new table is being created, the type of the table is given by typeId, which must be the ID of a currently registered type (i.e. one created via GPUdb::createType).
A table may optionally be designated to use a replicated distribution scheme, or be assigned: foreign keys to other tables, a partitioning scheme, and/or a tier strategy.
Definition at line 31 of file create_table.h.
|
inline |
Constructs a CreateTableRequest object with default parameters.
Definition at line 36 of file create_table.h.
|
inline |
Constructs a CreateTableRequest object with the specified parameters.
[in] | tableName_ | Name of the table to be created, in [schema_name.]table_name format, using standard name resolution rules and meeting table naming criteria. Error for requests with existing table of the same name and type ID may be suppressed by using the no_error_if_exists option. |
[in] | typeId_ | ID of a currently registered type. All objects added to the newly created table will be of this type. |
[in] | options_ | Optional parameters.
|
Definition at line 403 of file create_table.h.
std::map<std::string, std::string> gpudb::CreateTableRequest::options |
Optional parameters.
The default value is an empty map.
Definition at line 670 of file create_table.h.
std::string gpudb::CreateTableRequest::tableName |
Name of the table to be created, in [ schema_name. ]table_name format, using standard name resolution rules and meeting table naming criteria.
Error for requests with existing table of the same name and type ID may be suppressed by using the no_error_if_exists option.
Definition at line 421 of file create_table.h.
std::string gpudb::CreateTableRequest::typeId |
ID of a currently registered type.
All objects added to the newly created table will be of this type.
Definition at line 427 of file create_table.h.