GPUdb C++ API
Version 6.1.0.0
|
A set of input parameters for appendRecords(const AppendRecordsRequest&) const. More...
#include <gpudb/protocol/append_records.h>
Public Member Functions | |
AppendRecordsRequest () | |
Constructs an AppendRecordsRequest object with default parameter values. More... | |
AppendRecordsRequest (const std::string &tableName_, const std::string &sourceTableName_, const std::map< std::string, std::string > &fieldMap_, const std::map< std::string, std::string > &options_) | |
Constructs an AppendRecordsRequest object with the specified parameters. More... | |
Public Attributes | |
std::string | tableName |
std::string | sourceTableName |
std::map< std::string, std::string > | fieldMap |
std::map< std::string, std::string > | options |
A set of input parameters for appendRecords(const AppendRecordsRequest&) const.
Append (or insert) all records from a source table (specified by sourceTableName) to a particular target table (specified by tableName). The field map (specified by fieldMap) holds the user specified map of target table column names with their mapped source column names.
Definition at line 22 of file append_records.h.
|
inline |
Constructs an AppendRecordsRequest object with default parameter values.
Definition at line 29 of file append_records.h.
|
inline |
Constructs an AppendRecordsRequest object with the specified parameters.
[in] | tableName_ | The table name for the records to be appended. Must be an existing table. |
[in] | sourceTableName_ | The source table name to get records from. Must be an existing table name. |
[in] | fieldMap_ | Contains the mapping of column names from the target table (specified by tableName) as the keys, and corresponding column names from the source table (specified by sourceTableName). Must be existing column names in source table and target table, and their types must be matched. |
[in] | options_ | Optional parameters.
|
Definition at line 105 of file append_records.h.
std::map<std::string, std::string> gpudb::AppendRecordsRequest::fieldMap |
Definition at line 115 of file append_records.h.
std::map<std::string, std::string> gpudb::AppendRecordsRequest::options |
Definition at line 116 of file append_records.h.
std::string gpudb::AppendRecordsRequest::sourceTableName |
Definition at line 114 of file append_records.h.
std::string gpudb::AppendRecordsRequest::tableName |
Definition at line 113 of file append_records.h.