GPUdb C++ API
Version 7.2.2.4
|
A set of parameters for GPUdb::createDatasource. More...
#include <gpudb/protocol/create_datasource.h>
Public Member Functions | |
CreateDatasourceRequest () | |
Constructs a CreateDatasourceRequest object with default parameters. 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 |
Name of the data source to be created. More... | |
std::string | location |
Location of the remote storage in 'storage_provider_type://[storage_path[:storage_port]]' format. More... | |
std::string | userName |
Name of the remote system user; may be an empty string. More... | |
std::string | password |
Password for the remote system user; may be an empty string. More... | |
std::map< std::string, std::string > | options |
Optional parameters. More... | |
A set of parameters for GPUdb::createDatasource.
Creates a data source, which contains the location and connection information for a data store that is external to the database.
Definition at line 20 of file create_datasource.h.
|
inline |
Constructs a CreateDatasourceRequest object with default parameters.
Definition at line 25 of file create_datasource.h.
|
inline |
Constructs a CreateDatasourceRequest object with the specified 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 328 of file create_datasource.h.
std::string gpudb::CreateDatasourceRequest::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'.
Definition at line 349 of file create_datasource.h.
std::string gpudb::CreateDatasourceRequest::name |
Name of the data source to be created.
Definition at line 340 of file create_datasource.h.
std::map<std::string, std::string> gpudb::CreateDatasourceRequest::options |
Optional parameters.
The default value is an empty map.
Definition at line 555 of file create_datasource.h.
std::string gpudb::CreateDatasourceRequest::password |
Password for the remote system user; may be an empty string.
Definition at line 359 of file create_datasource.h.
std::string gpudb::CreateDatasourceRequest::userName |
Name of the remote system user; may be an empty string.
Definition at line 354 of file create_datasource.h.