GPUdb C++ API
Version 6.2.0.3
|
A set of input parameters for executeProc(const ExecuteProcRequest&) const. More...
#include <gpudb/protocol/execute_proc.h>
Public Member Functions | |
ExecuteProcRequest () | |
Constructs an ExecuteProcRequest object with default parameter values. More... | |
ExecuteProcRequest (const std::string &procName_, const std::map< std::string, std::string > ¶ms_, const std::map< std::string, std::vector< uint8_t > > &binParams_, const std::vector< std::string > &inputTableNames_, const std::map< std::string, std::vector< std::string > > &inputColumnNames_, const std::vector< std::string > &outputTableNames_, const std::map< std::string, std::string > &options_) | |
Constructs an ExecuteProcRequest object with the specified parameters. More... | |
Public Attributes | |
std::string | procName |
std::map< std::string, std::string > | params |
std::map< std::string, std::vector< uint8_t > > | binParams |
std::vector< std::string > | inputTableNames |
std::map< std::string, std::vector< std::string > > | inputColumnNames |
std::vector< std::string > | outputTableNames |
std::map< std::string, std::string > | options |
A set of input parameters for executeProc(const ExecuteProcRequest&) const.
Executes a proc. This endpoint is asynchronous and does not wait for the proc to complete before returning.
Definition at line 19 of file execute_proc.h.
|
inline |
Constructs an ExecuteProcRequest object with default parameter values.
Definition at line 26 of file execute_proc.h.
|
inline |
Constructs an ExecuteProcRequest object with the specified parameters.
[in] | procName_ | Name of the proc to execute. Must be the name of a currently existing proc. |
[in] | params_ | A map containing named parameters to pass to the proc. Each key/value pair specifies the name of a parameter and its value. |
[in] | binParams_ | A map containing named binary parameters to pass to the proc. Each key/value pair specifies the name of a parameter and its value. |
[in] | inputTableNames_ | Names of the tables containing data to be passed to the proc. Each name specified must be the name of a currently existing table. If no table names are specified, no data will be passed to the proc. |
[in] | inputColumnNames_ | Map of table names from inputTableNames to lists of names of columns from those tables that will be passed to the proc. Each column name specified must be the name of an existing column in the corresponding table. If a table name from inputTableNames is not included, all columns from that table will be passed to the proc. |
[in] | outputTableNames_ | Names of the tables to which output data from the proc will be written. If a specified table does not exist, it will automatically be created with the same schema as the corresponding table (by order) from inputTableNames, excluding any primary and shard keys. If a specified table is a non-persistent result table, it must not have primary or shard keys. If no table names are specified, no output data can be returned from the proc. |
[in] | options_ | Optional parameters.
|
Definition at line 117 of file execute_proc.h.
std::map<std::string, std::vector<uint8_t> > gpudb::ExecuteProcRequest::binParams |
Definition at line 130 of file execute_proc.h.
std::map<std::string, std::vector<std::string> > gpudb::ExecuteProcRequest::inputColumnNames |
Definition at line 132 of file execute_proc.h.
std::vector<std::string> gpudb::ExecuteProcRequest::inputTableNames |
Definition at line 131 of file execute_proc.h.
std::map<std::string, std::string> gpudb::ExecuteProcRequest::options |
Definition at line 134 of file execute_proc.h.
std::vector<std::string> gpudb::ExecuteProcRequest::outputTableNames |
Definition at line 133 of file execute_proc.h.
std::map<std::string, std::string> gpudb::ExecuteProcRequest::params |
Definition at line 129 of file execute_proc.h.
std::string gpudb::ExecuteProcRequest::procName |
Definition at line 128 of file execute_proc.h.