GPUdb C++ API
Version 7.2.2.4
|
A set of parameters for GPUdb::createJoinTable. More...
#include <gpudb/protocol/create_join_table.h>
Public Member Functions | |
CreateJoinTableRequest () | |
Constructs a CreateJoinTableRequest object with default parameters. 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 |
Name of the join 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 composing the join, each in [ schema_name. More... | |
std::vector< std::string > | columnNames |
List of member table columns or column expressions to be included in the join. More... | |
std::vector< std::string > | expressions |
An optional list of expressions to combine and filter the joined tables. More... | |
std::map< std::string, std::string > | options |
Optional parameters. More... | |
A set of parameters for GPUdb::createJoinTable.
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 parameters.
Definition at line 28 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, in [schema_name.]table_name format, using standard name resolution rules and meeting table naming criteria. |
[in] | tableNames_ | The list of table names composing the join, each in [schema_name.]table_name format, using standard name resolution rules. 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. The default value is an empty vector. |
[in] | options_ | Optional parameters.
|
Definition at line 180 of file create_join_table.h.
std::vector<std::string> gpudb::CreateJoinTableRequest::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.
Definition at line 218 of file create_join_table.h.
std::vector<std::string> gpudb::CreateJoinTableRequest::expressions |
An optional list of expressions to combine and filter the joined tables.
Corresponds to a SQL statement WHERE clause. For details see: expressions. The default value is an empty vector.
Definition at line 226 of file create_join_table.h.
std::string gpudb::CreateJoinTableRequest::joinTableName |
Name of the join table to be created, in [ schema_name. ]table_name format, using standard name resolution rules and meeting table naming criteria.
Definition at line 197 of file create_join_table.h.
std::map<std::string, std::string> gpudb::CreateJoinTableRequest::options |
Optional parameters.
The default value is an empty map.
Definition at line 304 of file create_join_table.h.
std::vector<std::string> gpudb::CreateJoinTableRequest::tableNames |
The list of table names composing the join, each in [ schema_name.
\ ]table_name format, using standard name resolution rules. Corresponds to a SQL statement FROM clause.
Definition at line 206 of file create_join_table.h.