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

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

#include <gpudb/protocol/alter_datasource.h>

Public Member Functions

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

Public Attributes

std::string name
 Name of the data source to be altered. More...
 
std::map< std::string, std::string > datasourceUpdatesMap
 Map containing the properties of the data source to be updated. More...
 
std::map< std::string, std::string > options
 Optional parameters. More...
 

Detailed Description

A set of parameters for GPUdb::alterDatasource.

Alters the properties of an existing data source

Definition at line 19 of file alter_datasource.h.

Constructor & Destructor Documentation

◆ AlterDatasourceRequest() [1/2]

gpudb::AlterDatasourceRequest::AlterDatasourceRequest ( )
inline

Constructs an AlterDatasourceRequest object with default parameters.

Definition at line 24 of file alter_datasource.h.

◆ AlterDatasourceRequest() [2/2]

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

Constructs an AlterDatasourceRequest object with the specified parameters.

Parameters
[in]name_Name of the data source to be altered. Must be an existing data source.
[in]datasourceUpdatesMap_Map containing the properties of the data source to be updated. Error if empty.
[in]options_Optional parameters.

Definition at line 389 of file alter_datasource.h.

Member Data Documentation

◆ datasourceUpdatesMap

std::map<std::string, std::string> gpudb::AlterDatasourceRequest::datasourceUpdatesMap

Map containing the properties of the data source to be updated.

Error if empty.

Definition at line 604 of file alter_datasource.h.

◆ name

std::string gpudb::AlterDatasourceRequest::name

Name of the data source to be altered.

Must be an existing data source.

Definition at line 400 of file alter_datasource.h.

◆ options

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

Optional parameters.

Definition at line 609 of file alter_datasource.h.


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