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

A set of output parameters for const. More...

#include <gpudb/protocol/insert_records_from_files.h>

Public Member Functions

 InsertRecordsFromFilesResponse ()
 Constructs an InsertRecordsFromFilesResponse object with default parameter values. More...
 

Public Attributes

std::string tableName
 
std::string typeId
 
int64_t countInserted
 
int64_t countSkipped
 
int64_t countUpdated
 
std::map< std::string,
std::string > 
info
 

Detailed Description

A set of output parameters for const.

Reads from one or more files located on the server and inserts the data into a new or existing table.

For CSV files, there are two loading schemes: positional and name-based. The name-based loading scheme is enabled when the file has a header present and text_has_header is set to true. In this scheme, the source file(s) field names must match the target table's column names exactly; however, the source file can have more fields than the target table has columns. If error_handling is set to permissive, the source file can have fewer fields than the target table has columns. If the name-based loading scheme is being used, names matching the file header's names may be provided to columns_to_load instead of numbers, but ranges are not supported.

Returns once all files are processed.

Definition at line 572 of file insert_records_from_files.h.

Constructor & Destructor Documentation

gpudb::InsertRecordsFromFilesResponse::InsertRecordsFromFilesResponse ( )
inline

Constructs an InsertRecordsFromFilesResponse object with default parameter values.

Definition at line 579 of file insert_records_from_files.h.

Member Data Documentation

int64_t gpudb::InsertRecordsFromFilesResponse::countInserted

Definition at line 591 of file insert_records_from_files.h.

int64_t gpudb::InsertRecordsFromFilesResponse::countSkipped

Definition at line 592 of file insert_records_from_files.h.

int64_t gpudb::InsertRecordsFromFilesResponse::countUpdated

Definition at line 593 of file insert_records_from_files.h.

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

Definition at line 594 of file insert_records_from_files.h.

std::string gpudb::InsertRecordsFromFilesResponse::tableName

Definition at line 589 of file insert_records_from_files.h.

std::string gpudb::InsertRecordsFromFilesResponse::typeId

Definition at line 590 of file insert_records_from_files.h.


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