GPUdb C++ API
Version 6.2.0.3
|
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.
Merges data from one or more tables with comparable data types into a new table.
The following merges are supported:
UNION (DISTINCT/ALL) - For data set union details and examples, see Union. For limitations, see Union Limitations and Cautions.
INTERSECT (DISTINCT/ALL) - For data set intersection details and examples, see Intersect. For limitations, see Intersect Limitations.
EXCEPT (DISTINCT/ALL) - For data set subtraction details and examples, see Except. For limitations, see Except Limitations.
MERGE VIEWS - For a given set of filtered views on a single table, creates a single filtered view containing all of the unique records across all of the given filtered data sets.
Non-charN 'string' and 'bytes' column types cannot be merged, nor can columns marked as store-only.
Definition at line 47 of file create_union.h.
|
inline |
Constructs a CreateUnionRequest object with default parameter values.
Definition at line 54 of file create_union.h.
|
inline |
Constructs a CreateUnionRequest object with the specified parameters.
[in] | tableName_ | Name of the table to be created. Has the same naming restrictions as tables. |
[in] | tableNames_ | The list of table names to merge. 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 output table. |
[in] | options_ | Optional parameters.
|
Definition at line 179 of file create_union.h.
std::vector<std::vector<std::string> > gpudb::CreateUnionRequest::inputColumnNames |
Definition at line 190 of file create_union.h.
std::map<std::string, std::string> gpudb::CreateUnionRequest::options |
Definition at line 192 of file create_union.h.
std::vector<std::string> gpudb::CreateUnionRequest::outputColumnNames |
Definition at line 191 of file create_union.h.
std::string gpudb::CreateUnionRequest::tableName |
Definition at line 188 of file create_union.h.
std::vector<std::string> gpudb::CreateUnionRequest::tableNames |
Definition at line 189 of file create_union.h.