GPUdb C++ API
Version 6.2.0.3
|
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 or expressions (e.g., 'col_name+1') from the source table (specified by sourceTableName). Must be existing column names in source table and target table, and their types must be matched. For details on using expressions, see Expressions. |
[in] | options_ | Optional parameters.
|
Definition at line 122 of file append_records.h.
std::map<std::string, std::string> gpudb::AppendRecordsRequest::fieldMap |
Definition at line 132 of file append_records.h.
std::map<std::string, std::string> gpudb::AppendRecordsRequest::options |
Definition at line 133 of file append_records.h.
std::string gpudb::AppendRecordsRequest::sourceTableName |
Definition at line 131 of file append_records.h.
std::string gpudb::AppendRecordsRequest::tableName |
Definition at line 130 of file append_records.h.