GPUdb C++ API  Version 7.2.2.4
gpudb::CreateDatasinkRequest Struct Reference

A set of parameters for GPUdb::createDatasink. More...

#include <gpudb/protocol/create_datasink.h>

Public Member Functions

 CreateDatasinkRequest ()
 Constructs a CreateDatasinkRequest object with default parameters. More...
 
 CreateDatasinkRequest (const std::string &name_, const std::string &destination_, const std::map< std::string, std::string > &options_)
 Constructs a CreateDatasinkRequest object with the specified parameters. More...
 

Public Attributes

std::string name
 Name of the data sink to be created. More...
 
std::string destination
 Destination for the output data in format 'storage_provider_type://path[:port]'. More...
 
std::map< std::string, std::string > options
 Optional parameters. More...
 

Detailed Description

A set of parameters for GPUdb::createDatasink.

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

Definition at line 20 of file create_datasink.h.

Constructor & Destructor Documentation

◆ CreateDatasinkRequest() [1/2]

gpudb::CreateDatasinkRequest::CreateDatasinkRequest ( )
inline

Constructs a CreateDatasinkRequest object with default parameters.

Definition at line 25 of file create_datasink.h.

◆ CreateDatasinkRequest() [2/2]

gpudb::CreateDatasinkRequest::CreateDatasinkRequest ( const std::string &  name_,
const std::string &  destination_,
const std::map< std::string, std::string > &  options_ 
)
inline

Constructs a CreateDatasinkRequest object with the specified parameters.

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. The default value is an empty map.

Definition at line 306 of file create_datasink.h.

Member Data Documentation

◆ destination

std::string gpudb::CreateDatasinkRequest::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'.

Definition at line 325 of file create_datasink.h.

◆ name

std::string gpudb::CreateDatasinkRequest::name

Name of the data sink to be created.

Definition at line 316 of file create_datasink.h.

◆ options

std::map<std::string, std::string> gpudb::CreateDatasinkRequest::options

Optional parameters.

The default value is an empty map.

Definition at line 505 of file create_datasink.h.


The documentation for this struct was generated from the following file: