Skip to main content

◆ 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
[in]request_Request object containing the parameters for the operation.
[out]response_Response object containing the results of the operation.
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]nameName of the data source to be created.
[in]locationLocation 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]userNameName of the remote system user; may be an empty string.
[in]passwordPassword for the remote system user; may be an empty string.
[in]optionsOptional parameters.The default value is an empty map.
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]nameName of the data source to be created.
[in]locationLocation 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]userNameName of the remote system user; may be an empty string.
[in]passwordPassword for the remote system user; may be an empty string.
[in]optionsOptional parameters.The default value is an empty map.
[out]response_Response object containing the results of the operation.
Returns
Response object containing the result of the operation (initially passed in by reference).