Skip to main content

◆ createJoinTable() [1/4]

CreateJoinTableResponse gpudb::GPUdb::createJoinTable (const CreateJoinTableRequest &request_) 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.

Parameters
[in]request_Request object containing the parameters for the operation.
Returns
Response object containing the result of the operation.

◆ createJoinTable() [2/4]

CreateJoinTableResponse & gpudb::GPUdb::createJoinTable (const CreateJoinTableRequest &request_,
CreateJoinTableResponse &response_ ) 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.

Parameters
[in]request_Request object containing the parameters for the operation.
[out]response_Response object containing the results of the operation.
Returns
Response object containing the result of the operation (initially passed in by reference).

◆ createJoinTable() [3/4]

CreateJoinTableResponse gpudb::GPUdb::createJoinTable (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 ) 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.

Parameters
[in]joinTableNameName of the join table to be created, in [schema_name.]table_name format, using standard name resolution rules and meeting table naming criteria.
[in]tableNamesThe 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]columnNamesList 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]expressionsAn 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]optionsOptional parameters.The default value is an empty map.
Returns
Response object containing the result of the operation.

◆ createJoinTable() [4/4]

CreateJoinTableResponse & gpudb::GPUdb::createJoinTable (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,
CreateJoinTableResponse &response_ ) 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.

Parameters
[in]joinTableNameName of the join table to be created, in [schema_name.]table_name format, using standard name resolution rules and meeting table naming criteria.
[in]tableNamesThe 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]columnNamesList 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]expressionsAn 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]optionsOptional parameters.The default value is an empty map.
[out]response_Response object containing the results of the operation.
Returns
Response object containing the result of the operation (initially passed in by reference).