Skip to main content

◆ dropDatasource() [1/4]

DropDatasourceResponse gpudb::GPUdb::dropDatasource (const DropDatasourceRequest &request_) const

Drops an existing data source.

Any external tables that depend on the data source must be dropped before it can be dropped.

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

◆ dropDatasource() [2/4]

DropDatasourceResponse & gpudb::GPUdb::dropDatasource (const DropDatasourceRequest &request_,
DropDatasourceResponse &response_ ) const

Drops an existing data source.

Any external tables that depend on the data source must be dropped before it can be dropped.

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

◆ dropDatasource() [3/4]

DropDatasourceResponse gpudb::GPUdb::dropDatasource (const std::string &name,
const std::map< std::string, std::string > &options ) const

Drops an existing data source.

Any external tables that depend on the data source must be dropped before it can be dropped.

Parameters
[in]nameName of the data source to be dropped. Must be an existing data source.
[in]optionsOptional parameters. The default value is an empty map.
Returns
Response object containing the result of the operation.

◆ dropDatasource() [4/4]

DropDatasourceResponse & gpudb::GPUdb::dropDatasource (const std::string &name,
const std::map< std::string, std::string > &options,
DropDatasourceResponse &response_ ) const

Drops an existing data source.

Any external tables that depend on the data source must be dropped before it can be dropped.

Parameters
[in]nameName of the data source to be dropped. Must be an existing data source.
[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).