Skip to main content

◆ createDatasink() [1/4]

CreateDatasinkResponse gpudb::GPUdb::createDatasink (const CreateDatasinkRequest &request_) const

Creates a data sink, which contains the destination information for a data sink 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.

◆ createDatasink() [2/4]

CreateDatasinkResponse & gpudb::GPUdb::createDatasink (const CreateDatasinkRequest &request_,
CreateDatasinkResponse &response_ ) const

Creates a data sink, which contains the destination information for a data sink 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).

◆ createDatasink() [3/4]

CreateDatasinkResponse gpudb::GPUdb::createDatasink (const std::string &name,
const std::string &destination,
const std::map< std::string, std::string > &options ) const

Creates a data sink, which contains the destination information for a data sink that is external to the database.

Parameters
[in]nameName of the data sink to be created.
[in]destinationDestination for the output data in format ‘storage_provider_type://path[:port]’. Supported storage provider types are ‘azure’, ‘gcs’, ‘hdfs’, ‘http’, ‘https’, ‘jdbc’, ‘kafka’, and ‘s3’.
[in]optionsOptional parameters.The default value is an empty map.
Returns
Response object containing the result of the operation.

◆ createDatasink() [4/4]

CreateDatasinkResponse & gpudb::GPUdb::createDatasink (const std::string &name,
const std::string &destination,
const std::map< std::string, std::string > &options,
CreateDatasinkResponse &response_ ) const

Creates a data sink, which contains the destination information for a data sink that is external to the database.

Parameters
[in]nameName of the data sink to be created.
[in]destinationDestination for the output data in format ‘storage_provider_type://path[:port]’. Supported storage provider types are ‘azure’, ‘gcs’, ‘hdfs’, ‘http’, ‘https’, ‘jdbc’, ‘kafka’, and ‘s3’.
[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).