GPUdb C++ API  Version 6.0.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends
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.

Performs a union (concatenation) of one or more existing tables or views, the results of which are stored in a new view. 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'. Though not explicitly unions, intersect and except are also available from this endpoint.

Definition at line 25 of file create_union.h.

Constructor & Destructor Documentation

gpudb::CreateUnionRequest::CreateUnionRequest ( )
inline

Constructs a CreateUnionRequest object with default parameter values.

Definition at line 32 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 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 121 of file create_union.h.

Member Data Documentation

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

Definition at line 132 of file create_union.h.

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

Definition at line 134 of file create_union.h.

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

Definition at line 133 of file create_union.h.

std::string gpudb::CreateUnionRequest::tableName

Definition at line 130 of file create_union.h.

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

Definition at line 131 of file create_union.h.


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