GPUdb C++ API  Version 7.1.10.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
gpudb::CreateDatasourceRequest Struct Reference

A set of input parameters for const. More...

#include <gpudb/protocol/create_datasource.h>

Public Member Functions

 CreateDatasourceRequest ()
 Constructs a CreateDatasourceRequest object with default parameter values. More...
 
 CreateDatasourceRequest (const std::string &name_, const std::string &location_, const std::string &userName_, const std::string &password_, const std::map< std::string, std::string > &options_)
 Constructs a CreateDatasourceRequest object with the specified parameters. More...
 

Public Attributes

std::string name
 
std::string location
 
std::string userName
 
std::string password
 
std::map< std::string,
std::string > 
options
 

Detailed Description

A set of input parameters for const.

Creates a data source, which contains the location and connection information for a data store that is external to the database.

Definition at line 21 of file create_datasource.h.

Constructor & Destructor Documentation

gpudb::CreateDatasourceRequest::CreateDatasourceRequest ( )
inline

Constructs a CreateDatasourceRequest object with default parameter values.

Definition at line 28 of file create_datasource.h.

gpudb::CreateDatasourceRequest::CreateDatasourceRequest ( const std::string &  name_,
const std::string &  location_,
const std::string &  userName_,
const std::string &  password_,
const std::map< std::string, std::string > &  options_ 
)
inline

Constructs a CreateDatasourceRequest object with the specified parameters.

Parameters
[in]name_Name of the data source to be created.
[in]location_Location of the remote storage in 'storage_provider_type://[storage_path[:storage_port]]' format. Supported storage provider types are 'azure','gcs','hdfs','jdbc','kafka', 'confluent' and 's3'.
[in]userName_Name of the remote system user; may be an empty string
[in]password_Password for the remote system user; may be an empty string
[in]options_Optional parameters.

Definition at line 238 of file create_datasource.h.

Member Data Documentation

std::string gpudb::CreateDatasourceRequest::location

Definition at line 248 of file create_datasource.h.

std::string gpudb::CreateDatasourceRequest::name

Definition at line 247 of file create_datasource.h.

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

Definition at line 251 of file create_datasource.h.

std::string gpudb::CreateDatasourceRequest::password

Definition at line 250 of file create_datasource.h.

std::string gpudb::CreateDatasourceRequest::userName

Definition at line 249 of file create_datasource.h.


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