◆ createDatasource() [1/4]
| CreateDatasourceResponse gpudb::GPUdb::createDatasource | ( | const CreateDatasourceRequest & | request_ | ) | const |
Creates a data source, which contains the location and connection information for a data store that is external to the database.
Parameters
| [in] | request_ | Request object containing the parameters for the operation. |
Returns
Response object containing the result of the operation.
◆ createDatasource() [2/4]
| CreateDatasourceResponse & gpudb::GPUdb::createDatasource | ( | const CreateDatasourceRequest & | request_, |
| CreateDatasourceResponse & | response_ ) const |
Creates a data source, which contains the location and connection information for a data store that is external to the database.
Parameters
Returns
Response object containing the result of the operation (initially passed in by reference).
◆ createDatasource() [3/4]
| CreateDatasourceResponse gpudb::GPUdb::createDatasource | ( | const std::string & | name, |
| const std::string & | location, | ||
| const std::string & | userName, | ||
| const std::string & | password, | ||
| const std::map< std::string, std::string > & | options ) const |
Creates a data source, which contains the location and connection information for a data store that is external to the database.
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.
|
Returns
Response object containing the result of the operation.
◆ createDatasource() [4/4]
| CreateDatasourceResponse & gpudb::GPUdb::createDatasource | ( | const std::string & | name, |
| const std::string & | location, | ||
| const std::string & | userName, | ||
| const std::string & | password, | ||
| const std::map< std::string, std::string > & | options, | ||
| CreateDatasourceResponse & | response_ ) const |
Creates a data source, which contains the location and connection information for a data store that is external to the database.
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.
|
| [out] | response_ | Response object containing the results of the operation. |
Returns
Response object containing the result of the operation (initially passed in by reference).