◆ createDatasink() [1/4]
| CreateDatasinkResponse gpudb::GPUdb::createDatasink | ( | const CreateDatasinkRequest & | request_ | ) | const |
◆ createDatasink() [2/4]
| CreateDatasinkResponse & gpudb::GPUdb::createDatasink | ( | const CreateDatasinkRequest & | request_, |
| CreateDatasinkResponse & | response_ ) const |
◆ 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] | name | Name of the data sink to be created. |
| [in] | destination | Destination 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] | options | Optional parameters.
|
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] | name | Name of the data sink to be created. |
| [in] | destination | Destination 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] | 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).