GPUdb C++ API  Version 7.2.2.4
gpudb::DropDatasourceRequest Struct Reference

A set of parameters for GPUdb::dropDatasource. More...

#include <gpudb/protocol/drop_datasource.h>

Public Member Functions

 DropDatasourceRequest ()
 Constructs a DropDatasourceRequest object with default parameters. More...
 
 DropDatasourceRequest (const std::string &name_, const std::map< std::string, std::string > &options_)
 Constructs a DropDatasourceRequest object with the specified parameters. More...
 

Public Attributes

std::string name
 Name of the data source to be dropped. More...
 
std::map< std::string, std::string > options
 Optional parameters. More...
 

Detailed Description

A set of parameters for GPUdb::dropDatasource.

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

Definition at line 20 of file drop_datasource.h.

Constructor & Destructor Documentation

◆ DropDatasourceRequest() [1/2]

gpudb::DropDatasourceRequest::DropDatasourceRequest ( )
inline

Constructs a DropDatasourceRequest object with default parameters.

Definition at line 25 of file drop_datasource.h.

◆ DropDatasourceRequest() [2/2]

gpudb::DropDatasourceRequest::DropDatasourceRequest ( const std::string &  name_,
const std::map< std::string, std::string > &  options_ 
)
inline

Constructs a DropDatasourceRequest object with the specified parameters.

Parameters
[in]name_Name of the data source to be dropped. Must be an existing data source.
[in]options_Optional parameters. The default value is an empty map.

Definition at line 40 of file drop_datasource.h.

Member Data Documentation

◆ name

std::string gpudb::DropDatasourceRequest::name

Name of the data source to be dropped.

Must be an existing data source.

Definition at line 50 of file drop_datasource.h.

◆ options

std::map<std::string, std::string> gpudb::DropDatasourceRequest::options

Optional parameters.

The default value is an empty map.

Definition at line 55 of file drop_datasource.h.


The documentation for this struct was generated from the following file: