GPUdb C++ API
Version 5.2.0.0
|
A set of input parameters for createUnion(const CreateUnionRequest&) const. More...
#include <gpudb/protocol/create_union.h>
Public Member Functions | |
CreateUnionRequest () | |
Constructs a CreateUnionRequest object with default parameter values. More... | |
CreateUnionRequest (const std::string &tableName, const std::vector< std::string > &tableNames, const std::vector< std::vector< std::string > > &inputColumnNames, const std::vector< std::string > &outputColumnNames, const std::map< std::string, std::string > &options) | |
Constructs a CreateUnionRequest object with the specified parameters. More... | |
Public Attributes | |
std::string | tableName |
std::vector< std::string > | tableNames |
std::vector< std::vector< std::string > > | inputColumnNames |
std::vector< std::string > | outputColumnNames |
std::map< std::string, std::string > | options |
A set of input parameters for createUnion(const CreateUnionRequest&) const.
Creates a table that is the concatenation of one or more existing tables. It is equivalent to the SQL UNION ALL operator. Non-charN 'string' and 'bytes' column types cannot be included in a union, neither can columns with the property 'store_only'.
Definition at line 21 of file create_union.h.
|
inline |
Constructs a CreateUnionRequest object with default parameter values.
Definition at line 28 of file create_union.h.
|
inline |
Constructs a CreateUnionRequest object with the specified parameters.
[in] | tableName | Name of the table to be created. Must not be the name of a currently existing GPUdb table. Cannot be an empty string. |
[in] | tableNames | The list of table names making up the union. Must contain the names of one or more existing tables. |
[in] | inputColumnNames | The list of columns from each of the corresponding input tables. |
[in] | outputColumnNames | The list of names of the columns to be stored in the union. |
[in] | options | Optional parameters.
|
Definition at line 61 of file create_union.h.
std::vector<std::vector<std::string> > gpudb::CreateUnionRequest::inputColumnNames |
Definition at line 72 of file create_union.h.
std::map<std::string, std::string> gpudb::CreateUnionRequest::options |
Definition at line 74 of file create_union.h.
std::vector<std::string> gpudb::CreateUnionRequest::outputColumnNames |
Definition at line 73 of file create_union.h.
std::string gpudb::CreateUnionRequest::tableName |
Definition at line 70 of file create_union.h.
std::vector<std::string> gpudb::CreateUnionRequest::tableNames |
Definition at line 71 of file create_union.h.