GPUdb C++ API  Version 7.0.19.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
gpudb::CreateUnionRequest Struct Reference

A set of input parameters for 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
 

Detailed Description

A set of input parameters for 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.

Constructor & Destructor Documentation

gpudb::CreateUnionRequest::CreateUnionRequest ( )
inline

Constructs a CreateUnionRequest object with default parameter values.

Definition at line 54 of file create_union.h.

gpudb::CreateUnionRequest::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_ 
)
inline

Constructs a CreateUnionRequest object with the specified parameters.

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 188 of file create_union.h.

Member Data Documentation

std::vector<std::vector<std::string> > gpudb::CreateUnionRequest::inputColumnNames

Definition at line 199 of file create_union.h.

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

Definition at line 201 of file create_union.h.

std::vector<std::string> gpudb::CreateUnionRequest::outputColumnNames

Definition at line 200 of file create_union.h.

std::string gpudb::CreateUnionRequest::tableName

Definition at line 197 of file create_union.h.

std::vector<std::string> gpudb::CreateUnionRequest::tableNames

Definition at line 198 of file create_union.h.


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