GPUdb C++ API  Version 6.2.0.3
gpudb::CreateJoinTableRequest Struct Reference

A set of input parameters for createJoinTable(const CreateJoinTableRequest&) const. More...

#include <gpudb/protocol/create_join_table.h>

Public Member Functions

 CreateJoinTableRequest ()
 Constructs a CreateJoinTableRequest object with default parameter values. More...
 
 CreateJoinTableRequest (const std::string &joinTableName_, const std::vector< std::string > &tableNames_, const std::vector< std::string > &columnNames_, const std::vector< std::string > &expressions_, const std::map< std::string, std::string > &options_)
 Constructs a CreateJoinTableRequest object with the specified parameters. More...
 

Public Attributes

std::string joinTableName
 
std::vector< std::string > tableNames
 
std::vector< std::string > columnNames
 
std::vector< std::string > expressions
 
std::map< std::string, std::string > options
 

Detailed Description

A set of input parameters for createJoinTable(const CreateJoinTableRequest&) const.

Creates a table that is the result of a SQL JOIN.

For join details and examples see: Joins. For limitations, see Join Limitations and Cautions.

Definition at line 23 of file create_join_table.h.

Constructor & Destructor Documentation

◆ CreateJoinTableRequest() [1/2]

gpudb::CreateJoinTableRequest::CreateJoinTableRequest ( )
inline

Constructs a CreateJoinTableRequest object with default parameter values.

Definition at line 30 of file create_join_table.h.

◆ CreateJoinTableRequest() [2/2]

gpudb::CreateJoinTableRequest::CreateJoinTableRequest ( const std::string &  joinTableName_,
const std::vector< std::string > &  tableNames_,
const std::vector< std::string > &  columnNames_,
const std::vector< std::string > &  expressions_,
const std::map< std::string, std::string > &  options_ 
)
inline

Constructs a CreateJoinTableRequest object with the specified parameters.

Parameters
[in]joinTableName_Name of the join table to be created. Has the same naming restrictions as tables.
[in]tableNames_The list of table names composing the join. Corresponds to a SQL statement FROM clause.
[in]columnNames_List of member table columns or column expressions to be included in the join. Columns can be prefixed with 'table_id.column_name', where 'table_id' is the table name or alias. Columns can be aliased via the syntax 'column_name as alias'. Wild cards '*' can be used to include all columns across member tables or 'table_id.*' for all of a single table's columns. Columns and column expressions composing the join must be uniquely named or aliased–therefore, the '*' wild card cannot be used if column names aren't unique across all tables.
[in]expressions_An optional list of expressions to combine and filter the joined tables. Corresponds to a SQL statement WHERE clause. For details see: expressions.
[in]options_Optional parameters.

Definition at line 176 of file create_join_table.h.

Member Data Documentation

◆ columnNames

std::vector<std::string> gpudb::CreateJoinTableRequest::columnNames

Definition at line 187 of file create_join_table.h.

◆ expressions

std::vector<std::string> gpudb::CreateJoinTableRequest::expressions

Definition at line 188 of file create_join_table.h.

◆ joinTableName

std::string gpudb::CreateJoinTableRequest::joinTableName

Definition at line 185 of file create_join_table.h.

◆ options

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

Definition at line 189 of file create_join_table.h.

◆ tableNames

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

Definition at line 186 of file create_join_table.h.


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