Skip to main content

◆ alterSchema() [1/4]

AlterSchemaResponse gpudb::GPUdb::alterSchema (const AlterSchemaRequest &request_) const

Used to change the name of a SQL-style schema, specified in schemaName.

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

◆ alterSchema() [2/4]

AlterSchemaResponse & gpudb::GPUdb::alterSchema (const AlterSchemaRequest &request_,
AlterSchemaResponse &response_ ) const

Used to change the name of a SQL-style schema, specified in schemaName.

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).

◆ alterSchema() [3/4]

AlterSchemaResponse gpudb::GPUdb::alterSchema (const std::string &schemaName,
const std::string &action,
const std::string &value,
const std::map< std::string, std::string > &options ) const

Used to change the name of a SQL-style schema, specified in schemaName.

Parameters
[in]schemaNameName of the schema to be altered.
[in]actionModification operation to be applied. Supported values:
[in]valueThe 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]optionsOptional parameters. The default value is an empty map.
Returns
Response object containing the result of the operation.

◆ alterSchema() [4/4]

AlterSchemaResponse & gpudb::GPUdb::alterSchema (const std::string &schemaName,
const std::string &action,
const std::string &value,
const std::map< std::string, std::string > &options,
AlterSchemaResponse &response_ ) const

Used to change the name of a SQL-style schema, specified in schemaName.

Parameters
[in]schemaNameName of the schema to be altered.
[in]actionModification operation to be applied. Supported values:
[in]valueThe 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]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).