GPUdb C++ API
Version 6.2.0.3
|
A set of output parameters for insertRecordsRaw(const RawInsertRecordsRequest&) const. More...
#include <gpudb/protocol/insert_records.h>
Public Member Functions | |
InsertRecordsResponse () | |
Constructs an InsertRecordsResponse object with default parameter values. More... | |
Public Attributes | |
std::vector< std::string > | recordIds |
int32_t | countInserted |
int32_t | countUpdated |
A set of output parameters for insertRecordsRaw(const RawInsertRecordsRequest&) const.
Adds multiple records to the specified table. The operation is synchronous, meaning that a response will not be returned until all the records are fully inserted and available. The response payload provides the counts of the number of records actually inserted and/or updated, and can provide the unique identifier of each added record.
The options parameter can be used to customize this function's behavior.
The update_on_existing_pk option specifies the record collision policy for inserting into a table with a primary key, but is ignored if no primary key exists.
The return_record_ids option indicates that the database should return the unique identifiers of inserted records.
Definition at line 363 of file insert_records.h.
|
inline |
Constructs an InsertRecordsResponse object with default parameter values.
Definition at line 370 of file insert_records.h.
int32_t gpudb::InsertRecordsResponse::countInserted |
Definition at line 378 of file insert_records.h.
int32_t gpudb::InsertRecordsResponse::countUpdated |
Definition at line 379 of file insert_records.h.
std::vector<std::string> gpudb::InsertRecordsResponse::recordIds |
Definition at line 377 of file insert_records.h.