Skip to main content

◆ createSchema() [1/4]

CreateSchemaResponse gpudb::GPUdb::createSchema (const CreateSchemaRequest &request_) const

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.

Parameters
[in]request_Request object containing the parameters for the operation.
Returns
Response object containing the result of the operation.

◆ createSchema() [2/4]

CreateSchemaResponse & gpudb::GPUdb::createSchema (const CreateSchemaRequest &request_,
CreateSchemaResponse &response_ ) const

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.

Parameters
[in]request_Request object containing the parameters for the operation.
[out]response_Response object containing the results of the operation.
Returns
Response object containing the result of the operation (initially passed in by reference).

◆ createSchema() [3/4]

CreateSchemaResponse gpudb::GPUdb::createSchema (const std::string &schemaName,
const std::map< std::string, std::string > &options ) const

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.

Parameters
[in]schemaNameName of the schema to be created. Has the same naming restrictions as tables.
[in]optionsOptional parameters.The default value is an empty map.
Returns
Response object containing the result of the operation.

◆ createSchema() [4/4]

CreateSchemaResponse & gpudb::GPUdb::createSchema (const std::string &schemaName,
const std::map< std::string, std::string > &options,
CreateSchemaResponse &response_ ) const

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.

Parameters
[in]schemaNameName of the schema to be created. Has the same naming restrictions as tables.
[in]optionsOptional parameters.The default value is an empty map.
[out]response_Response object containing the results of the operation.
Returns
Response object containing the result of the operation (initially passed in by reference).