GPUdb C++ API
Version 6.2.0.3
|
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 |
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.
|
inline |
Constructs a CreateJoinTableRequest object with default parameter values.
Definition at line 30 of file create_join_table.h.
|
inline |
Constructs a CreateJoinTableRequest object with the specified 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.
std::vector<std::string> gpudb::CreateJoinTableRequest::columnNames |
Definition at line 187 of file create_join_table.h.
std::vector<std::string> gpudb::CreateJoinTableRequest::expressions |
Definition at line 188 of file create_join_table.h.
std::string gpudb::CreateJoinTableRequest::joinTableName |
Definition at line 185 of file create_join_table.h.
std::map<std::string, std::string> gpudb::CreateJoinTableRequest::options |
Definition at line 189 of file create_join_table.h.
std::vector<std::string> gpudb::CreateJoinTableRequest::tableNames |
Definition at line 186 of file create_join_table.h.