Skip to main content

◆ insertRecordsFromQuery() [1/4]

InsertRecordsFromQueryResponse gpudb::GPUdb::insertRecordsFromQuery (const InsertRecordsFromQueryRequest &request_) const

Computes remote query result and inserts the result data into a new or existing table.

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

◆ insertRecordsFromQuery() [2/4]

InsertRecordsFromQueryResponse & gpudb::GPUdb::insertRecordsFromQuery (const InsertRecordsFromQueryRequest &request_,
InsertRecordsFromQueryResponse &response_ ) const

Computes remote query result and inserts the result data into a new or existing table.

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).

◆ insertRecordsFromQuery() [3/4]

InsertRecordsFromQueryResponse gpudb::GPUdb::insertRecordsFromQuery (const std::string &tableName,
const std::string &remoteQuery,
const std::map< std::string, std::map< std::string, std::string > > &modifyColumns,
const std::map< std::string, std::string > &createTableOptions,
const std::map< std::string, std::string > &options ) const

Computes remote query result and inserts the result data into a new or existing table.

Parameters
[in]tableNameName of the table into which the data will be inserted, in [schema_name.]table_name format, using standard name resolution rules. If the table does not exist, the table will be created using either an existing type_id or the type inferred from the remote query, and the new table name will have to meet standard table naming criteria.
[in]remoteQueryQuery for which result data needs to be imported.
[in]modifyColumnsNot implemented yet. The default value is an empty map.
[in]createTableOptionsOptions used when creating the target table.The default value is an empty map.
[in]optionsOptional parameters.The default value is an empty map.
Returns
Response object containing the result of the operation.

◆ insertRecordsFromQuery() [4/4]

InsertRecordsFromQueryResponse & gpudb::GPUdb::insertRecordsFromQuery (const std::string &tableName,
const std::string &remoteQuery,
const std::map< std::string, std::map< std::string, std::string > > &modifyColumns,
const std::map< std::string, std::string > &createTableOptions,
const std::map< std::string, std::string > &options,
InsertRecordsFromQueryResponse &response_ ) const

Computes remote query result and inserts the result data into a new or existing table.

Parameters
[in]tableNameName of the table into which the data will be inserted, in [schema_name.]table_name format, using standard name resolution rules. If the table does not exist, the table will be created using either an existing type_id or the type inferred from the remote query, and the new table name will have to meet standard table naming criteria.
[in]remoteQueryQuery for which result data needs to be imported.
[in]modifyColumnsNot implemented yet. The default value is an empty map.
[in]createTableOptionsOptions used when creating the target table.The default value is an empty map.
[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).