A set of parameters for GPUdb::createSchema. More…
#include <gpudb/protocol/create_schema.h>
Public Member Functions | |
| CreateSchemaRequest () | |
| Constructs a CreateSchemaRequest object with default parameters. | |
| CreateSchemaRequest (const std::string &schemaName_, const std::map< std::string, std::string > &options_) | |
| Constructs a CreateSchemaRequest object with the specified parameters. | |
Public Attributes | |
| std::string | schemaName |
| Name of the schema to be created. | |
| std::map< std::string, std::string > | options |
| Optional parameters. | |
Detailed Description
A set of parameters for GPUdb::createSchema.
Creates a SQL-style schema. Schemas are containers for tables and views. Multiple tables and views can be defined with the same name in different schemas.
Definition at line 21 of file create_schema.h.
Constructor & Destructor Documentation
◆ CreateSchemaRequest() [1/2]
| inline |
Constructs a CreateSchemaRequest object with default parameters.
Definition at line 26 of file create_schema.h.
◆ CreateSchemaRequest() [2/2]
| inline |
Constructs a CreateSchemaRequest object with the specified parameters.
| [in] | schemaName_ | Name of the schema to be created. Has the same naming restrictions as tables. |
| [in] | options_ | Optional parameters.
|
Definition at line 61 of file create_schema.h.
Member Data Documentation
◆ options
| std::map<std::string, std::string> gpudb::CreateSchemaRequest::options |
Optional parameters.
- create_schema_no_error_if_exists: If true, prevents an error from occurring if the schema already exists. Supported values:The default value is create_schema_false.
The default value is an empty map.
Definition at line 91 of file create_schema.h.
◆ schemaName
| std::string gpudb::CreateSchemaRequest::schemaName |
Name of the schema to be created.
Has the same naming restrictions as tables.
Definition at line 71 of file create_schema.h.
The documentation for this struct was generated from the following file:
- gpudb/protocol/create_schema.h