◆ insertRecordsFromQuery() [1/4]
| InsertRecordsFromQueryResponse gpudb::GPUdb::insertRecordsFromQuery | ( | const InsertRecordsFromQueryRequest & | request_ | ) | const |
◆ 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
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] | tableName | Name 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] | remoteQuery | Query for which result data needs to be imported. |
| [in] | modifyColumns | Not implemented yet. The default value is an empty map. |
| [in] | createTableOptions | Options used when creating the target table.
|
| [in] | options | Optional parameters.
|
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] | tableName | Name 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] | remoteQuery | Query for which result data needs to be imported. |
| [in] | modifyColumns | Not implemented yet. The default value is an empty map. |
| [in] | createTableOptions | Options used when creating the target table.
|
| [in] | options | Optional parameters.
|
| [out] | response_ | Response object containing the results of the operation. |
Returns
Response object containing the result of the operation (initially passed in by reference).