GPUdb C++ API  Version 7.0.19.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
gpudb::InsertRecordsResponse Struct Reference

A set of output parameters for 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
 
std::map< std::string,
std::string > 
info
 

Detailed Description

A set of output parameters for 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 504 of file insert_records.h.

Constructor & Destructor Documentation

gpudb::InsertRecordsResponse::InsertRecordsResponse ( )
inline

Constructs an InsertRecordsResponse object with default parameter values.

Definition at line 511 of file insert_records.h.

Member Data Documentation

int32_t gpudb::InsertRecordsResponse::countInserted

Definition at line 520 of file insert_records.h.

int32_t gpudb::InsertRecordsResponse::countUpdated

Definition at line 521 of file insert_records.h.

std::map<std::string, std::string> gpudb::InsertRecordsResponse::info

Definition at line 522 of file insert_records.h.

std::vector<std::string> gpudb::InsertRecordsResponse::recordIds

Definition at line 519 of file insert_records.h.


The documentation for this struct was generated from the following file: