GPUdb C++ API
Version 7.2.2.4
|
A set of parameters for GPUdb::createUnion. More...
#include <gpudb/protocol/create_union.h>
Public Member Functions | |
CreateUnionRequest () | |
Constructs a CreateUnionRequest object with default parameters. 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 |
Name of the table to be created, in [ schema_name. ]table_name format, using standard name resolution rules and meeting table naming criteria. More... | |
std::vector< std::string > | tableNames |
The list of table names to merge, in [ schema_name. ]table_name format, using standard name resolution rules. More... | |
std::vector< std::vector< std::string > > | inputColumnNames |
The list of columns from each of the corresponding input tables. More... | |
std::vector< std::string > | outputColumnNames |
The list of names of the columns to be stored in the output table. More... | |
std::map< std::string, std::string > | options |
Optional parameters. More... | |
A set of parameters for GPUdb::createUnion.
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 parameters.
Definition at line 52 of file create_union.h.
|
inline |
Constructs a CreateUnionRequest object with the specified parameters.
[in] | tableName_ | Name of the table to be created, in [schema_name.]table_name format, using standard name resolution rules and meeting table naming criteria. |
[in] | tableNames_ | The list of table names to merge, in [schema_name.]table_name format, using standard name resolution rules. 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 283 of file create_union.h.
std::vector<std::vector<std::string> > gpudb::CreateUnionRequest::inputColumnNames |
The list of columns from each of the corresponding input tables.
Definition at line 314 of file create_union.h.
std::map<std::string, std::string> gpudb::CreateUnionRequest::options |
Optional parameters.
The default value is an empty map.
Definition at line 454 of file create_union.h.
std::vector<std::string> gpudb::CreateUnionRequest::outputColumnNames |
The list of names of the columns to be stored in the output table.
Definition at line 319 of file create_union.h.
std::string gpudb::CreateUnionRequest::tableName |
Name of the table to be created, in [ schema_name. ]table_name format, using standard name resolution rules and meeting table naming criteria.
Definition at line 300 of file create_union.h.
std::vector<std::string> gpudb::CreateUnionRequest::tableNames |
The list of table names to merge, in [ schema_name. ]table_name format, using standard name resolution rules.
Must contain the names of one or more existing tables.
Definition at line 309 of file create_union.h.